]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: iio: sca3000: Use devm_iio_device_alloc
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 24 Aug 2013 18:48:00 +0000 (19:48 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 28 Aug 2013 19:20:26 +0000 (20:20 +0100)
commit0189d93fdf82cd546d5e54c6f4f7c4622c90aa3c
tree37780d70f58b785c5646c92bac0aa7981b15ddd2
parent4c247470531d437acf3b78b8d2bd08222395ecc9
staging: iio: sca3000: 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/staging/iio/accel/sca3000_core.c