iio: imu: inv_mpu6050: Drop use of %hhx format string.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Jun 2021 18:06:11 +0000 (19:06 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 9 Jun 2021 17:31:03 +0000 (18:31 +0100)
commite8951f087899c44524f9812d17c38d01bc637a1d
tree92b12cbe6f74c89cbcf3b214a2f4ef95801441a2
parentd4f2a1c6c1f2c71dc602968f537e0536f3be0b25
iio: imu: inv_mpu6050: Drop use of %hhx format string.

Since:
commit cbacb5ab0aa0 ("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.

Part of a series removing all uses from IIO in the interestings of
avoiding providing bad examples for people to copy.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20210603180612.3635250-4-jic23@kernel.org
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c