platform/chrome: cros_ec_spi: Use %*ph for printing hexdump of a small buffer
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Jun 2023 21:23:36 +0000 (00:23 +0300)
committerTzung-Bi Shih <tzungbi@kernel.org>
Tue, 13 Jun 2023 04:28:36 +0000 (12:28 +0800)
commit2b8cc5858a07ab75ce98cae720e263e1c1b0d1d9
tree98ce180c691544fcf638797a5e231a9134e90f3f
parentf5bb4e381290883a014a9e865ee2c430447ef953
platform/chrome: cros_ec_spi: Use %*ph for printing hexdump of a small buffer

The kernel already has a helper to print a hexdump of a small
buffer via pointer extension. Use that instead of open coded
variant.

In long term it helps to kill pr_cont() or at least narrow down
its use.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230612212336.4961-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
drivers/platform/chrome/cros_ec_spi.c