iio: gyro: adxrs450: Use devm_iio_device_alloc
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 13 Aug 2013 06:34:00 +0000 (07:34 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 17 Aug 2013 14:50:55 +0000 (15:50 +0100)
commit6694cf9652c718b624c459867e7833c759665225
tree03260b1d0210483ca3efb0e882cbe633ace2e282
parent1ba15cf249061c2f55f4a883ee142002261003a8
iio: gyro: adxrs450: 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/gyro/adxrs450.c