Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80826339 authored by Brian Norris's avatar Brian Norris Committed by Sean Paul
Browse files

drm/rockchip: analogix_dp: drop unnecessary probe deferral "error" print



This driver is the only user of of_drm_find_panel() which prints an
error before doing probe deferral, yielding messages like this on boot,
before eventually succeeding:

[    2.234271] [drm:rockchip_dp_probe] *ERROR* failed to find panel
...
[    4.797539] [drm:rockchip_dp_probe] *ERROR* failed to find panel
...

Let's just drop the message.

Signed-off-by: default avatarBrian Norris <briannorris@chromium.org>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
parent 5b680403
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -447,11 +447,9 @@ static int rockchip_dp_probe(struct platform_device *pdev)

		panel = of_drm_find_panel(panel_node);
		of_node_put(panel_node);
		if (!panel) {
			DRM_ERROR("failed to find panel\n");
		if (!panel)
			return -EPROBE_DEFER;
	}
	}

	dp = devm_kzalloc(dev, sizeof(*dp), GFP_KERNEL);
	if (!dp)