OSDN Git Service

drivers: switch: remove S_IWUSR from dev_attr
authorQiao Zhou <zhouqiao@marvell.com>
Thu, 31 Oct 2013 01:36:50 +0000 (09:36 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 13 Dec 2014 15:14:04 +0000 (23:14 +0800)
commit247cc3980e076a7e18e28f8b52625186709a9005
treed7e928b599bf5ca3a743f7e83d85867ca22d9ef3
parent274993ebe334985519306767e78d7232050ddb78
drivers: switch: remove S_IWUSR from dev_attr

it doesn't need S_IWUSR attribute since xxx_store API is un-needed.
otherwise the WARN check in device_create_file will alert.

Change-Id: I6360bf022dcd659bfb3f41c84624f954d5d15ea5
Signed-off-by: Qiao Zhou <zhouqiao@marvell.com>
drivers/switch/switch_class.c