commit | 02566b459f391d867b637d6e2eda8ac48b30415f | [log] [tgz] |
---|---|---|
author | Nishant Malpani <nish.malpani25@gmail.com> | Sun Mar 22 22:53:12 2020 +0530 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Apr 19 16:56:18 2020 +0100 |
tree | 7eaffa2d52011979a885681ac6e352b0fb8db716 | |
parent | fb3f7ab7736d22aae8282a1d56f3187ecf9cb66f [diff] |
iio: imu: inv_mpu6050_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>