]> git.baikalelectronics.ru Git - kernel.git/commit
iio: light: si1133: Drop remaining uses of %hhx format string.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Jun 2021 18:06:10 +0000 (19:06 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 9 Jun 2021 17:31:03 +0000 (18:31 +0100)
commitdea03e439b0772df8f0d8e6edf0ebd53dec2d82d
tree0e5fed109544e28b3492e39a6e10e41c6c119def
parent448c87a4829062612a78ffeda2bc6bd515d3dd8a
iio: light: si1133: Drop remaining uses of %hhx format string.

Since:
commit deabdf7d821e ("docs: printk-formats: Stop encouraging use of
unnecessary %h[xudi] and %hh[xudi]")
use of these format strings has been discouraged.

Use the 0x02x form as the length specifier when used with # includes
the 0x prefix and is very unlikely to be what was intended by the author.

As there are not that many in IIO, this is part of an effort to clear
them out so we don't have any instances that might get copied into
new drivers.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20210603180612.3635250-3-jic23@kernel.org
drivers/iio/light/si1133.c