iio: health/afe440x: Match LED currents to stages
authorAndrew F. Davis <afd@ti.com>
Sun, 1 May 2016 20:37:01 +0000 (15:37 -0500)
committerJonathan Cameron <jic23@kernel.org>
Wed, 4 May 2016 10:12:55 +0000 (11:12 +0100)
commit3ff34ee2ad2aa16fdde728bd9048098f71391087
tree6d53cc55bace3df64233ad40ca63f1f6f1e726a6
parent1276187c5261217aa9cc23ec153e0e903181c16b
iio: health/afe440x: Match LED currents to stages

The current channel number for the LEDs should match the stage
number that they are active during, fix this here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/health/afe4403.c
drivers/iio/health/afe4404.c