drivers: switch: remove S_IWUSR from dev_attr
authorQiao Zhou <zhouqiao@marvell.com>
Thu, 31 Oct 2013 01:36:50 +0000 (09:36 +0800)
committerQiao Zhou <zhouqiao@marvell.com>
Thu, 31 Oct 2013 01:36:50 +0000 (09:36 +0800)
commit4155e96bc418753a0c7a25d9ffb6d959d3933dc1
treebc139fac15bfafe222e93e18b4f7f628f11380b4
parentcacc36f18cda9e2894704ace9dbfb15e6045b134
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