staging: iio: tsl2x7x_core: Use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 5 Sep 2013 09:29:00 +0000 (10:29 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 7 Sep 2013 21:05:49 +0000 (22:05 +0100)
commit8529e6673b162dcc9146238073f8632d604f8d5a
tree9183a257356991ebcb5ea2d8a623c18f4a5470e2
parent177e4af04e5e11aee18e794359997cc301fa9f0f
staging: iio: tsl2x7x_core: Use devm_* APIs

devm_* APIs are device managed and make code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: J. August Brenner <jbrenner@taosinc.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/tsl2x7x_core.c