iio: light: rpr0521 magic number to sizeof() on value read
authorMikko Koivunen <mikko.koivunen@fi.rohmeurope.com>
Thu, 18 May 2017 12:12:52 +0000 (15:12 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 21 May 2017 14:06:12 +0000 (15:06 +0100)
commitae5916501b8d45b0585171f4e4ada7c64493813b
treed034022004a9f7ad167356c9f2e8bf33da7ba2ab
parent484c314b90ae240fb8e6e2924722deb92c756d93
iio: light: rpr0521 magic number to sizeof() on value read

Changed magic number to sizeof() on value read.

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