diff options
author | 2020-08-15 14:54:02 +0200 | |
---|---|---|
committer | 2020-08-18 22:31:09 +0200 | |
commit | 5936b3bdaa888907596df0a954db4d14657ec621 (patch) | |
tree | 7b2bc43452294d8d12bacbb17621e94741028031 /drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c | |
parent | drm/panel: Add panel driver for the Mantix MLAF057WE51-X DSI panel (diff) | |
download | linux-dev-5936b3bdaa888907596df0a954db4d14657ec621.tar.xz linux-dev-5936b3bdaa888907596df0a954db4d14657ec621.zip |
drm/panel: samsung: Use dev_ based logging
Standardize on the dev_ based logging and drop the include of drm_print.h.
Fix a few cases where "x@" was used when printing the mode.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Guido Günther <agx@sigxcpu.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200815125406.1153224-2-sam@ravnborg.org
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c b/drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c index e36cb1a25318..527371120266 100644 --- a/drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c +++ b/drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c @@ -25,7 +25,6 @@ #include <drm/drm_mipi_dsi.h> #include <drm/drm_modes.h> #include <drm/drm_panel.h> -#include <drm/drm_print.h> #define LDI_MTP_LENGTH 24 #define GAMMA_LEVEL_NUM 25 @@ -928,7 +927,7 @@ static int s6e8aa0_get_modes(struct drm_panel *panel, mode = drm_mode_create(connector->dev); if (!mode) { - DRM_ERROR("failed to create a new display mode\n"); + dev_err(panel->dev, "failed to create a new display mode\n"); return 0; } |