commit | 907c0a0ae0e0f3b26d1d2bb6f05f116f0a9decc1 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Fri Aug 02 11:08:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Aug 03 18:43:14 2013 +0100 |
tree | 1fb0968e2075632e1fc6dfa3203e4fc9ddafbf82 | |
parent | 555d5a9f17ef71849cae57fd2efda60b50d325ce [diff] |
iio: magnetometer: hid-sensor-magn-3d: Use devm_iio_device_alloc Using devm_iio_device_alloc makes code simpler. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Srinivas Pandruvada <srinivas.pandruvada@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>