commit | 452204ae531f236696d69966d0ff2f5ca0ef02f7 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Tue Jul 30 09:44:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Aug 03 18:55:24 2013 +0100 |
tree | 8b5a77626cb9387bb0a9445e8a1182a089cf1b55 | |
parent | 297c8876d9669dfa6d6a4c17bd4527495036f64f [diff] |
iio: imu: inv_mpu6050: Use devm_iio_device_alloc Using devm_iio_device_alloc makes code simpler. While at it include missing iio.h header file and do some cleanup. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>