commit | 3ef50f8830ecb911c3ae3faec4f2832d5ff55bff | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Tue Jul 23 09:58:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Aug 03 18:40:42 2013 +0100 |
tree | 8faf8b3494a2b4ba3f797c9ae7693f81105bb4cc | |
parent | 99e94b6d567188275b1269d4bd72d78cc10df8c3 [diff] |
iio: adc: viperboard_adc: Use devm_iio_device_alloc Using devm_iio_device_alloc makes code simpler. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Lars Poeschel <poeschel@lemonage.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>