]> git.baikalelectronics.ru Git - kernel.git/commit
iio: light: st_uvis25: Drop unneeded casting when print error code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 13 Mar 2020 10:49:48 +0000 (12:49 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2020 10:25:59 +0000 (10:25 +0000)
commitd2e8d47ade9fdae7302421c3c2f68b470bfb53d2
tree3b5ca60c2f2f6ed766a12ea47dcf71d5e76cbed4
parent288d47977def950c8347d3265f4ede92b625ad3d
iio: light: st_uvis25: 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/light/st_uvis25_i2c.c
drivers/iio/light/st_uvis25_spi.c