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 <[email protected]> --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 2 -- 1 file changed, 2 deletions(-) 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; } -- 2.49.0
