]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
iio: gyro: adis16136: 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)
commitc0ca6d31a519682445e4c672b92f27ff7e0c5a7f
tree70f91382cb7bfe5dad2d270e7f277bcbb2a4f997
parent42aceff5a26713a50239504ff30ce78beac66b6a
iio: gyro: adis16136: Use devm_iio_device_alloc

Using devm_iio_device_alloc makes code simpler.

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