staging: iio: ade7753: Use devm_iio_device_alloc
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 11 Sep 2013 09:55:00 +0000 (10:55 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 14 Sep 2013 10:52:41 +0000 (11:52 +0100)
commite7d4eb0e402aa56c3a2f4a4a0a1afb4e18fa41da
tree1f942bc9067ced1a37a09419355ad16780e744a4
parent6bba7983bd979c34cbb8a77f9c3e420472bc2c1f
staging: iio: ade7753: Use devm_iio_device_alloc

devm_iio_device_alloc makes code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Barry Song <21cnbao@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/meter/ade7753.c