iio: adc: twl6030-gpadc: Use devm_* API family
authorOleksandr Kozaruk <oleksandr.kozaruk@ti.com>
Mon, 19 Aug 2013 11:09:00 +0000 (12:09 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 19 Aug 2013 19:15:14 +0000 (20:15 +0100)
commitfa659a40b80b06140390c364362d7ca942e2b2f6
tree9d385fc4a9f5406167e93f9a426a316c8238c5c2
parent4c730292656675000a3631b12cefb6238c57d1e3
iio: adc: twl6030-gpadc: Use devm_* API family

Using devm_iio_device_alloc and devm_request_threaded_irq makes
code simpler.

Signed-off-by: Oleksandr Kozaruk <oleksandr.kozaruk@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/twl6030-gpadc.c