]> git.karo-electronics.de Git - linux-beck.git/commit
iio: at91: Use devm_iio_device_alloc
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 22 Jul 2013 11:02:00 +0000 (12:02 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:40:42 +0000 (18:40 +0100)
commitf88375322d46e66a9e0983070b9970853d951fd6
tree9c33aa3fc24cb277545a8101be9a4d36e16036fd
parent3ef50f8830ecb911c3ae3faec4f2832d5ff55bff
iio: at91: Use devm_iio_device_alloc

Using devm_iio_device_alloc makes code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/at91_adc.c