commit | 952c3aa3fb5538aa5026980cfdedb3d38829b67e | [log] [tgz] |
---|---|---|
author | Hartmut Knaack <knaack.h@gmx.de> | Thu Jul 09 23:51:32 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Wed Aug 12 22:16:27 2015 +0100 |
tree | 6123804ed69b168bb7de36b428afca3b7f5e9a2a | |
parent | 7c7a9eeaa335df03d692ad65e0767020ad1be374 [diff] |
iio:light:stk3310: use correct names and type for state Indicate the bit number of predefined states, make use of these names and change the state type in _resume to u8 to avoid type casting. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Reviewed-by: Tiberiu Breana <tiberiu.a.breana@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>