summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel/panel-sony-acx565akm.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-09-11 22:01:25 +0200
committerNeil Armstrong <neil.armstrong@linaro.org>2024-09-13 11:11:02 +0200
commit9550e2394fc09bf105a246221660da980c2dbd66 (patch)
treebfa4c0db511d0a2dbd79e324ae83155b4d940594 /drivers/gpu/drm/panel/panel-sony-acx565akm.c
parentdrm: panel: nt36523: use devm_mipi_dsi_* function to register and attach dsi (diff)
downloadlinux-9550e2394fc09bf105a246221660da980c2dbd66.tar.xz
linux-9550e2394fc09bf105a246221660da980c2dbd66.zip
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
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/panel/panel-sony-acx565akm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/panel/panel-sony-acx565akm.c b/drivers/gpu/drm/panel/panel-sony-acx565akm.c
index 217f03569494..d437f5c84f5f 100644
--- a/drivers/gpu/drm/panel/panel-sony-acx565akm.c
+++ b/drivers/gpu/drm/panel/panel-sony-acx565akm.c
@@ -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: