staging: iio: isl29018: Use devm_iio_device_register
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 29 Oct 2013 11:39:00 +0000 (11:39 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 24 Nov 2013 21:07:22 +0000 (21:07 +0000)
commit8664ed09aa63af9841da97645f42ff12ae39dd65
treeb4426ee7b9a09abbf3f93059bcfd998168cf9739
parentf952a30c39ea6d1dd44a33af7532d3a043c0c6a3
staging: iio: isl29018: Use devm_iio_device_register

devm_iio_device_register simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/isl29018.c