iio: imu: adis16400: Use devm_iio_device_alloc
commit5b778b97d494653deb2f2320393900ee51c80894
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 30 Jul 2013 08:44:00 +0000 (30 09:44 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:55:24 +0000 (3 18:55 +0100)
treeb2435af97ce68776df919778d1fa5940ca8dc137
parent7fc5ad7e97a690ccd05ad2556c1bfb687692f215
iio: imu: adis16400: Use devm_iio_device_alloc

Using devm_iio_device_alloc makes code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/adis16400_core.c