Commit 6982b943 authored by Philippe CORNU's avatar Philippe CORNU Committed by Thierry Reding

drm/panel: otm8009a: No message if probe success

Remove the message in case of probe success. This comes from a
suggestion followed in the recent integration of the raydium rm68200
panel.
Signed-off-by: default avatarPhilippe Cornu <philippe.cornu@st.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180423141054.13128-4-philippe.cornu@st.com
parent 36830ce4
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <video/mipi_display.h> #include <video/mipi_display.h>
#define DRV_NAME "orisetech_otm8009a"
#define OTM8009A_BACKLIGHT_DEFAULT 240 #define OTM8009A_BACKLIGHT_DEFAULT 240
#define OTM8009A_BACKLIGHT_MAX 255 #define OTM8009A_BACKLIGHT_MAX 255
...@@ -461,7 +459,7 @@ static int otm8009a_probe(struct mipi_dsi_device *dsi) ...@@ -461,7 +459,7 @@ static int otm8009a_probe(struct mipi_dsi_device *dsi)
ctx->panel.dev = dev; ctx->panel.dev = dev;
ctx->panel.funcs = &otm8009a_drm_funcs; ctx->panel.funcs = &otm8009a_drm_funcs;
ctx->bl_dev = backlight_device_register(DRV_NAME "_backlight", dev, ctx, ctx->bl_dev = backlight_device_register(dev_name(dev), dev, ctx,
&otm8009a_backlight_ops, NULL); &otm8009a_backlight_ops, NULL);
if (IS_ERR(ctx->bl_dev)) { if (IS_ERR(ctx->bl_dev)) {
dev_err(dev, "failed to register backlight device\n"); dev_err(dev, "failed to register backlight device\n");
...@@ -483,11 +481,6 @@ static int otm8009a_probe(struct mipi_dsi_device *dsi) ...@@ -483,11 +481,6 @@ static int otm8009a_probe(struct mipi_dsi_device *dsi)
return ret; return ret;
} }
DRM_INFO(DRV_NAME "_panel %ux%u@%u %ubpp dsi %udl - ready\n",
default_mode.hdisplay, default_mode.vdisplay,
default_mode.vrefresh,
mipi_dsi_pixel_format_to_bpp(dsi->format), dsi->lanes);
return 0; return 0;
} }
...@@ -513,7 +506,7 @@ static struct mipi_dsi_driver orisetech_otm8009a_driver = { ...@@ -513,7 +506,7 @@ static struct mipi_dsi_driver orisetech_otm8009a_driver = {
.probe = otm8009a_probe, .probe = otm8009a_probe,
.remove = otm8009a_remove, .remove = otm8009a_remove,
.driver = { .driver = {
.name = DRV_NAME "_panel", .name = "panel-orisetech-otm8009a",
.of_match_table = orisetech_otm8009a_of_match, .of_match_table = orisetech_otm8009a_of_match,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment