diff options
author | Nishant Malpani <nish.malpani25@gmail.com> | 2020-03-22 18:23:11 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-04-19 17:56:17 +0200 |
commit | fb3f7ab7736d22aae8282a1d56f3187ecf9cb66f (patch) | |
tree | c65ad7dbcef4830a6d98bd6531d62b5752091ee1 /drivers/iio/imu/bmi160/bmi160.h | |
parent | iio: imu: bmi160_spi: Use vsprintf extension %pe for symbolic error name (diff) | |
download | linux-fb3f7ab7736d22aae8282a1d56f3187ecf9cb66f.tar.xz linux-fb3f7ab7736d22aae8282a1d56f3187ecf9cb66f.zip |
iio: imu: inv_mpu6050_i2c: 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>
Diffstat (limited to 'drivers/iio/imu/bmi160/bmi160.h')
0 files changed, 0 insertions, 0 deletions