linux/drivers/iio/imu/bmi160
Nishant Malpani 35c9c8d5ec iio: imu: bmi160_spi: Use vsprintf extension %pe for symbolic error name
Utilize %pe format specifier from vsprintf while printing error logs
with dev_err(). Discards the use of unnecessary explicit casting and
prints symbolic error name which might prove to be convenient during
debugging.

Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-04-19 16:56:17 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
bmi160.h iio:bmi160: add drdy interrupt support 2019-02-09 15:14:42 +00:00
bmi160_core.c iio:bmi160: use if (ret) instead of if (ret < 0) 2019-02-09 15:25:25 +00:00
bmi160_i2c.c iio: imu: bmi160_i2c: Use vsprintf extension %pe for symbolic error name 2020-04-19 16:56:16 +01:00
bmi160_spi.c iio: imu: bmi160_spi: Use vsprintf extension %pe for symbolic error name 2020-04-19 16:56:17 +01:00