iio: light: vcnl4000: 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:18 +0000 (21:07 +0000)
commit691dab4291f5df64e08d49529e3eafc481811555
treef4181592fe7abd66d6b1cbfd6fa3863b383ea6df
parent9bcbf02ae38abd45fecf618d6f648927bd12d34d
iio: light: vcnl4000: 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/iio/light/vcnl4000.c