diff options
author | Martin Kelly | 2018-12-09 19:14:55 -0800 |
---|---|---|
committer | Jonathan Cameron | 2018-12-10 21:15:41 +0000 |
commit | 6e9982918c3fc4f0c4c32c95d1eb0a345baea5f1 (patch) | |
tree | 7de2102994afed929d7e92e39df4541b94b07497 /drivers/iio/adc/exynos_adc.c | |
parent | 0e76df5c978338f3051e5126fc0c4245c57a307a (diff) |
iio: bmi160: use all devm functions in probe
Currently, we're using the devm version of some but not all functions.
Switch to the devm version of iio_triggered_buffer_setup and
iio_device_register to simplify the code a bit and decrease the chance of
bugs.
Signed-off-by: Martin Kelly <martin@martingkelly.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/exynos_adc.c')
0 files changed, 0 insertions, 0 deletions