[10/32] drm/sun4i: dsi: remove redundant logging

Message ID 20250625-drm-dsi-host-no-device-ptr-v1-10-e36bc258a7c5@bootlin.com (mailing list archive)
State New
Headers
Series drm/mipi-dsi: avoid DSI host drivers to have pointers to DSI devices |

Commit Message

Luca Ceresoli June 25, 2025, 4:45 p.m. UTC
Now there is an equivalent of this dev_err in mipi_dsi_attach(), valid for
all DSI hosts.

This avoids the need to access the @name field in struct mipi_dsi_device.

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 2 --
 1 file changed, 2 deletions(-)
  

Patch

diff --git a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c
index c35b70d83e53b7397c6e38dde45824bd49fdf099..50e41bc147c92e2f9df415a96eb3e1c5efdc6958 100644
--- a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c
+++ b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c
@@ -975,8 +975,6 @@  static int sun6i_dsi_attach(struct mipi_dsi_host *host,
 
 	drm_kms_helper_hotplug_event(dsi->drm);
 
-	dev_info(host->dev, "Attached device %s\n", device->name);
-
 	return 0;
 }