iio: tsl2563: Use the correct channel2 member
authorIvaylo Dimitrov <freemangordon@abv.bg>
Mon, 13 Jan 2014 17:24:00 +0000 (17:24 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 18 Jan 2014 11:36:04 +0000 (11:36 +0000)
commit3b5c1635d12a670a0fea5542ada5bceb6536ae85
tree5b04b2ef38a2a89b7c447ecaebcaa7f9bbd5b13a
parent38408d056188be29a6c4e17f3703c796551bb330
iio: tsl2563: Use the correct channel2 member

Use the correct channel2 member instead of channel when dealing with sysfs
reads/writes

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Acked-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/tsl2563.c