OpenCloudOS-Kernel/drivers/iio/imu/bmi160
Martin Kelly 6e9982918c 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>
2018-12-10 21:15:41 +00:00
..
Kconfig
Makefile
bmi160.h iio: bmi160: use all devm functions in probe 2018-12-10 21:15:41 +00:00
bmi160_core.c iio: bmi160: use all devm functions in probe 2018-12-10 21:15:41 +00:00
bmi160_i2c.c iio: bmi160: use all devm functions in probe 2018-12-10 21:15:41 +00:00
bmi160_spi.c iio: bmi160: use all devm functions in probe 2018-12-10 21:15:41 +00:00