iio: dac: ad5755: Use devm_iio_device_alloc
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 19 Aug 2013 11:38:00 +0000 (12:38 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 19 Aug 2013 19:32:53 +0000 (20:32 +0100)
commitfd047294e279779c36cbca589d9fef06e881e67a
tree7f6b2d989a55e0305527294b67ae82be1283f9a3
parentedf3fd4141f17fa81497e7417aba7a45d1a36af9
iio: dac: ad5755: Use devm_iio_device_alloc

Using devm_iio_device_alloc makes code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/ad5755.c