OSDN Git Service

staging: iio: tsl2583: remove redundant power_state sysfs attribute
authorBrian Masney <masneyb@onstation.org>
Fri, 28 Oct 2016 10:00:15 +0000 (06:00 -0400)
committerJonathan Cameron <jic23@kernel.org>
Tue, 1 Nov 2016 18:50:05 +0000 (18:50 +0000)
commit27f4fabd4f9455852ebff253b21423406f24878b
tree3bd8e7613340b68f0540d43862f00c355c28ae19
parent20d823afff200fa131eb0dfaf6d33d8863ba8acf
staging: iio: tsl2583: remove redundant power_state sysfs attribute

IIO devices have a /sys/bus/iio/devices/iio:deviceX/power/ directory
that allows viewing and controling various power parameters. The tsl2583
driver also has an additional custom sysfs attribute named power_state
that is not needed. This patch removes the redundant power_state sysfs
attribute.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/tsl2583.c