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: NAndrew F. Davis <afd@ti.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录