staging: iio: isl29018: use IIO_DEVICE_ATTR_{RO, RW} macros
authorBrian Masney <masneyb@onstation.org>
Tue, 27 Sep 2016 00:20:17 +0000 (20:20 -0400)
committerJonathan Cameron <jic23@kernel.org>
Sat, 1 Oct 2016 13:48:25 +0000 (14:48 +0100)
commit028199660d8f53f1856bbe8cf6771d3351eaa182
treeae30a9d105af2fa07e7fb5cf15295f41a155e362
parentf3b0deea89039373f0d22eafd1ff65a36e957266
staging: iio: isl29018: use IIO_DEVICE_ATTR_{RO, RW} macros

Use the IIO_DEVICE_ATTR_RO and IIO_DEVICE_ATTR_RW macros to
create the device attributes.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/isl29018.c