iio: light: rpr0521 channel numbers reordered
authorMikko Koivunen <mikko.koivunen@fi.rohmeurope.com>
Thu, 18 May 2017 12:12:56 +0000 (15:12 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 21 May 2017 14:06:15 +0000 (15:06 +0100)
commit9ece370b02f912bedff217b53f6f8cfbef0e93eb
treed612327bb25ad00b4ebf9fae115d5f9b16b548d6
parent734c442303ad886fb2471d0fae0845f4a8a958e1
iio: light: rpr0521 channel numbers reordered

Move proximity channel from last to first in structs to avoid confusion
later with buffered triggers. Proximity data output is first in rpr0521
register map.

Signed-off-by: Mikko Koivunen <mikko.koivunen@fi.rohmeurope.com>
Acked-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/rpr0521.c