OSDN Git Service

staging: iio: tsl2x7x_core: fix format string warnings
authorAsaf Vertz <asaf.vertz@tandemg.com>
Tue, 20 Jan 2015 09:27:58 +0000 (11:27 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Jan 2015 22:55:36 +0000 (22:55 +0000)
commit3e5976dcd13f2d385f0742b02b1071230ce17f15
treeac39292a72d867d59877503059b03e8ed4b966de
parentf0002b3bd97b8de5a9e6ecf359821e85f1f22ed3
staging: iio: tsl2x7x_core: fix format string warnings

Fixed the following warnings (reported by cppcheck):
[drivers/staging/iio/light/tsl2x7x_core.c:1150]: (warning) %d in format string (no. 1)
requires 'int' but the argument type is 'unsigned int'.
[drivers/staging/iio/light/tsl2x7x_core.c:1150]: (warning) %d in format string (no. 2)
requires 'int' but the argument type is 'unsigned int'.
[drivers/staging/iio/light/tsl2x7x_core.c:1150]: (warning) %d in format string (no. 3)
requires 'int' but the argument type is 'unsigned int'.

Signed-off-by: Asaf Vertz <asaf.vertz@tandemg.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/tsl2x7x_core.c