max44000: Support controlling LED current output
authorCrestez Dan Leonard <leonard.crestez@intel.com>
Mon, 18 Apr 2016 14:31:55 +0000 (17:31 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 24 Apr 2016 09:21:32 +0000 (10:21 +0100)
commit237a378b3bde0b3c1d1c47f7a3982c86a6728cdf
treea65ed36e50f16c93f83d61755b9b05d87eca3d0e
parent35b651f391909c80d705533d3e0f7228d42b98a0
max44000: Support controlling LED current output

This is exposed as an output channel with "led" as an extend_name.

Other sensors also have support for controlling an external LED. It's
not clear that simply exposing an undecorated output channel is the
correct approach.

Signed-off-by: Crestez Dan Leonard <leonard.crestez@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/max44000.c