]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
iio: gyro: adis16130: 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:54 +0000 (15:50 +0100)
commit42aceff5a26713a50239504ff30ce78beac66b6a
treedc087584718189ec5c909a0f6f931fdba3fd1471
parentda419463d8819b66c2795b0fdbf462a1766d9ace
iio: gyro: adis16130: Use devm_iio_device_alloc

Using devm_iio_device_alloc makes code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/gyro/adis16130.c