iio: adjd_s311: Fix non-scan mode data read
authorPeter Meerwald <pmeerw@pmeerw.net>
Sun, 18 Aug 2013 12:59:00 +0000 (13:59 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 19 Aug 2013 18:30:21 +0000 (19:30 +0100)
commit71f42642af7b1bc7c36fb73ad8f7e7ab2ab8b2de
treee5e56531a153cace5a64b8ce9262ea126e30da6b
parentd4e4ab86bcba5a72779c43dc1459f71fea3d89c8
iio: adjd_s311: Fix non-scan mode data read

forgot to convert channel index to data register

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/adjd_s311.c