iio: light: us5182d: Add functions for selectively enabling als and proximity
authorAdriana Reus <adriana.reus@intel.com>
Tue, 24 Nov 2015 10:59:50 +0000 (12:59 +0200)
committerJonathan Cameron <jic23@kernel.org>
Wed, 2 Dec 2015 18:42:04 +0000 (18:42 +0000)
commita22a3c5c40deb31f03c2810a46e669bedbf476c5
tree58779476bc1afcdf98f6d4ea6ecef88c9597af57
parent023e30fb0d3a3b9d6b8dc9e47590aa544d58a22f
iio: light: us5182d: Add functions for selectively enabling als and proximity

Keep track of the als and px enabled/disabled status in
order to enable them selectively.

Signed-off-by: Adriana Reus <adriana.reus@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/us5182d.c