iio: light: tsl2563: Use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 30 Jul 2013 08:44:00 +0000 (09:44 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:55:51 +0000 (18:55 +0100)
commitbace48f44adb954ad71e62779d1be52dae3f0caf
tree46ba7548a08919a2da7f96d3c3269c866d20ef14
parent3d0ccbaff396920eedeb6a8d0dbb3c95847e937e
iio: light: tsl2563: Use devm_* APIs

devm_* APIs are device managed and make code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/tsl2563.c