]> git.karo-electronics.de Git - linux-beck.git/commit
staging: iio: tsl2583: change current chip state from a tristate to a bool
authorBrian Masney <masneyb@onstation.org>
Sat, 12 Nov 2016 18:19:19 +0000 (13:19 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sun, 13 Nov 2016 13:07:19 +0000 (13:07 +0000)
commit85e9304c166e549f75726625cbe06689e2fc6ed2
tree67ddcaf8849cf33918cfd2c50db4bd311c116df7
parent2ff8a35bd79e5a67137f6201b7d44515f19cf726
staging: iio: tsl2583: change current chip state from a tristate to a bool

The current chip state is represented as a tristate (working, suspended,
and unknown). The unknown state was not used. This patch changes the
chip state so that it is now represented as a single boolean value
(suspended).

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