staging: iio: tsl2x7x: move power and diode settings into header file
authorBrian Masney <masneyb@onstation.org>
Sat, 21 Apr 2018 00:41:49 +0000 (20:41 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Apr 2018 15:17:59 +0000 (16:17 +0100)
commit96c44e2e61d51fa9b4476d89d0e5703d3a2e4ac2
tree29b583ef7065395c76b8097ac240d7762f2fafef
parentdbc6cd1b0b31d714d90b2637b6596e867bb1439a
staging: iio: tsl2x7x: move power and diode settings into header file

The power and diode defines are needed for the platform data so this
patch moves the defines out of the .c file and into the header file. A
comment for the diode is also cleaned up while this code is touched.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/light/tsl2x7x.c
drivers/staging/iio/light/tsl2x7x.h