drivers: switch: remove S_IWUSR from dev_attr
authorQiao Zhou <zhouqiao@marvell.com>
Thu, 31 Oct 2013 01:36:50 +0000 (09:36 +0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:00 +0000 (13:51 -0800)
commitdc66dee02dcd6ea774e3ed4ae32e88b0f3b4bee7
tree53c30479bb24859f00008348c7373150b024f019
parent8e180508c265026cc4653b68ca216db5e9b709fc
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