]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (sht21) Use %*ph to print small buffer
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 11 Sep 2024 19:46:27 +0000 (22:46 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 12 Sep 2024 21:17:29 +0000 (14:17 -0700)
commit38f9fa39afe119f6b2771c9065e638414226c86d
treef043bc954628cd5a709bd1ee80fb01ff6c886909
parentd22bd451d5606411895ef55cb105277e4f4f6e54
hwmon: (sht21) Use %*ph to print small buffer

Use %*ph format to print small buffer as hex string.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Message-ID: <20240911194627.2885506-1-andriy.shevchenko@linux.intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/sht21.c