linux/drivers/iio/imu/inv_mpu6050
Krzysztof Kozlowski 75e13a76bf iio: imu: inv_mpu6050: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe().  Less code and also it prints the error value.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Link: https://lore.kernel.org/r/20200829064726.26268-13-krzk@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-09-03 19:40:50 +01:00
..
inv_mpu_acpi.c iio: imu: inv_mpu6050: Drop double check for ACPI companion device 2020-06-14 11:49:32 +01:00
inv_mpu_aux.c iio: imu: inv_mpu6050: helpers for using i2c master on auxiliary bus 2019-10-05 12:06:16 +01:00
inv_mpu_aux.h iio: imu: inv_mpu6050: helpers for using i2c master on auxiliary bus 2019-10-05 12:06:16 +01:00
inv_mpu_core.c iio: imu: inv_mpu6050: Simplify with dev_err_probe() 2020-09-03 19:40:50 +01:00
inv_mpu_i2c.c iio: imu: inv_mpu6050_i2c: Use vsprintf extension %pe for symbolic error name 2020-04-19 16:56:17 +01:00
inv_mpu_iio.h iio: imu: inv_mpu6050: use runtime pm with autosuspend 2020-03-08 17:28:39 +00:00
inv_mpu_magn.c iio: imu: inv_mpu6050: fix data polling interface 2020-03-08 17:28:38 +00:00
inv_mpu_magn.h iio: imu: inv_mpu6050: fix data polling interface 2020-03-08 17:28:38 +00:00
inv_mpu_ring.c iio: imu: inv_mpu6050: inv_mpu_ring: Demote seemingly unintentional kerneldoc header 2020-07-20 09:03:30 +01:00
inv_mpu_spi.c iio: imu: inv_mpu6050_spi: Use vsprintf extension %pe for symbolic error name 2020-04-19 16:56:18 +01:00
inv_mpu_trigger.c iio: imu: inv_mpu6050: use runtime pm with autosuspend 2020-03-08 17:28:39 +00:00
Kconfig iio: imu: inv_mpu6050: add support of ICM20690 2020-02-14 15:06:25 +00:00
Makefile iio: imu: inv_mpu6050: add MPU925x magnetometer support 2019-10-05 12:14:20 +01:00