iio: health/afe440x: Fix scan_index assignment
authorAndrew F. Davis <afd@ti.com>
Sun, 1 May 2016 20:36:55 +0000 (15:36 -0500)
committerJonathan Cameron <jic23@kernel.org>
Wed, 4 May 2016 10:03:01 +0000 (11:03 +0100)
commit9d3d9a57e4242b155b965f58639a230b212a0ea5
treee2773737866262f54ed54623834ab4b70bae5dcf
parent81f517270da632c0ddf4c511a086d5aa7e5606ee
iio: health/afe440x: Fix scan_index assignment

The LED channels are not scannable and so scan_index should
be negative, fix this here.

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