mbox series

[00/13] iio: Use suitable format specifiers

Message ID 20200321210204.18106-1-nish.malpani25@gmail.com (mailing list archive)
Headers show
Series iio: Use suitable format specifiers | expand

Message

Nishant Malpani March 21, 2020, 9:01 p.m. UTC
This patchset utilizes suitable format specifiers while logging errors
which removes unnecessary explicit casting and logs symbolic error names
instead of the error number. 

Suggested-by: Joe Perches <joe@perches.com>
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Suggested-by: Jonathan Cameron <jic23@kernel.org>

Links: https://marc.info/?l=linux-iio&m=158427554607223&w=2
Links: https://marc.info/?l=linux-iio&m=158481647605891&w=2

Nishant Malpani (13):
  iio: accel: kxsd9: Use suitable format specifier
  iio: gyro: bmg160_i2c: Use suitable format specifier
  iio: gyro: bmg160_spi: Use suitable format specifier
  iio: gyro: mpu3050: Use suitable format specifier
  iio: imu: bmi160_i2c: Use suitable format specifier
  iio: imu: bmi160_spi: Use suitable format specifier
  iio: imu: inv_mpu6050_i2c: Use suitable format specifier
  iio: imu: inv_mpu6050_spi: Use suitable format specifier
  iio: magn: bmc150: Use suitable format specifier
  iio: light: st_uvis25_i2c: Use suitable format specifier
  iio: light: st_uvis25_spi: Use suitable format specifier
  iio: st_sensors_i2c: Use suitable format specifier
  iio: st_sensors_spi: Use suitable format specifier

 drivers/iio/accel/kxsd9-i2c.c                  | 4 ++--
 drivers/iio/common/st_sensors/st_sensors_i2c.c | 4 ++--
 drivers/iio/common/st_sensors/st_sensors_spi.c | 4 ++--
 drivers/iio/gyro/bmg160_i2c.c                  | 4 ++--
 drivers/iio/gyro/bmg160_spi.c                  | 4 ++--
 drivers/iio/gyro/mpu3050-i2c.c                 | 4 ++--
 drivers/iio/imu/bmi160/bmi160_i2c.c            | 4 ++--
 drivers/iio/imu/bmi160/bmi160_spi.c            | 4 ++--
 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c      | 4 ++--
 drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c      | 4 ++--
 drivers/iio/light/st_uvis25_i2c.c              | 4 ++--
 drivers/iio/light/st_uvis25_spi.c              | 4 ++--
 drivers/iio/magnetometer/bmc150_magn_spi.c     | 4 ++--
 13 files changed, 26 insertions(+), 26 deletions(-)