staging: iio: ad2s90: 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:01 +0000 (11:52 +0100)
commit6bba7983bd979c34cbb8a77f9c3e420472bc2c1f
tree785ac3fc53b916d61adfdf17d2a3acf5b4e7f46b
parent50711572c6949f3e5f53f47f7adf2d7c1d5011d9
staging: iio: ad2s90: Use devm_iio_device_alloc

devm_iio_device_alloc makes code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Graff Yang <graff.yang@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/resolver/ad2s90.c