iio: light: vcnl4000 use word writes instead of byte writes
authorAngus Ainslie (Purism) <angus@akkea.ca>
Thu, 21 Mar 2019 15:40:43 +0000 (08:40 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:20:42 +0000 (20:20 +0100)
commit78ed050dd2962560d01ce8ee7b011bb7ccc3f502
treecb0002af58fa528adc9d32a17bcc2f3c5bf8ab27
parent37ada026be2cb61b4a99b5e4cb5a542df727b752
iio: light: vcnl4000 use word writes instead of byte writes

The VCNL4200 datasheet says that word read and writes should be used
to access the registers.

Signed-off-by: Angus Ainslie (Purism) <angus@akkea.ca>
Tested-by: Tomas Novotny <tomas@novotny.cz>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/vcnl4000.c