diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-08-13 07:34:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-08-17 15:50:56 +0100 |
commit | 7a842ed6e38807dba811b814d9b14813f33c0b4c (patch) | |
tree | 510f41f055b08e478169770e5cf27f79ec446fb8 /drivers/staging/iio | |
parent | d243b3c06d4d462ccc8d29dacb894cb25d56972f (diff) | |
download | linux-stable-7a842ed6e38807dba811b814d9b14813f33c0b4c.tar.gz linux-stable-7a842ed6e38807dba811b814d9b14813f33c0b4c.tar.bz2 linux-stable-7a842ed6e38807dba811b814d9b14813f33c0b4c.zip |
iio: gyro: st_gyro: Use devm_iio_device_alloc
Using devm_iio_device_alloc makes code simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio')
0 files changed, 0 insertions, 0 deletions