[PATCH 00/13] iio: Use suitable format specifiers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
Suggested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Suggested-by: Jonathan Cameron <jic23@xxxxxxxxxx>

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(-)

-- 
2.20.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux