iio: max1363: 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:49 +0000 (18:40 +0100)
commit6917e1d9af2c5087e933aa18f9117b95101d7cb1
tree684d529880a3d6c315e0cc231b90846406d3bee5
parentebeb021af29826fe44818f986c898f3e41a4f77c
iio: max1363: 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/adc/max1363.c