mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 02:46:06 +00:00
drm/panel: sony-acx565akm: 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> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20240911200125.2886384-1-andriy.shevchenko@linux.intel.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240911200125.2886384-1-andriy.shevchenko@linux.intel.com
This commit is contained in:
parent
62f6bc14bb
commit
9550e2394f
@ -562,8 +562,7 @@ static int acx565akm_detect(struct acx565akm_panel *lcd)
|
||||
lcd->enabled ? "enabled" : "disabled ", status);
|
||||
|
||||
acx565akm_read(lcd, MIPI_DCS_GET_DISPLAY_ID, lcd->display_id, 3);
|
||||
dev_dbg(&lcd->spi->dev, "MIPI display ID: %02x%02x%02x\n",
|
||||
lcd->display_id[0], lcd->display_id[1], lcd->display_id[2]);
|
||||
dev_dbg(&lcd->spi->dev, "MIPI display ID: %3phN\n", lcd->display_id);
|
||||
|
||||
switch (lcd->display_id[0]) {
|
||||
case 0x10:
|
||||
|
Loading…
x
Reference in New Issue
Block a user