]> git.baikalelectronics.ru Git - kernel.git/commit
iio: humidity: hts221: Drop unneeded casting when print error code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 13 Mar 2020 10:49:55 +0000 (12:49 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2020 10:27:15 +0000 (10:27 +0000)
commit0a02b90ad4449034f909f4f8cc2b5e1b100f8278
tree4da99e35f6a52343168c7dc40733a6609696a268
parent682f638b8c082858406c01a67c6ee18f2d793b83
iio: humidity: hts221: Drop unneeded casting when print error code

Explicit casting in printf() usually shows that something is not okay.
Here, we really don't need it by providing correct specifier.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/humidity/hts221_i2c.c
drivers/iio/humidity/hts221_spi.c