diff options
author | Brian Norris <briannorris@chromium.org> | 2016-08-17 17:10:09 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-08-23 11:44:37 -0400 |
commit | 808263393198b9b0f9d53b9983330fb4298851ec (patch) | |
tree | 758a02d9d741e10970efbc729a9e5853927e03fd | |
parent | 5b6804034ae9a7e792298786f70b95405730ea90 (diff) |
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: Brian Norris <briannorris@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
-rw-r--r-- | drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c index 439b933098ad..3bd93fa96e2b 100644 --- a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c +++ b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | |||
@@ -447,10 +447,8 @@ static int rockchip_dp_probe(struct platform_device *pdev) | |||
447 | 447 | ||
448 | panel = of_drm_find_panel(panel_node); | 448 | panel = of_drm_find_panel(panel_node); |
449 | of_node_put(panel_node); | 449 | of_node_put(panel_node); |
450 | if (!panel) { | 450 | if (!panel) |
451 | DRM_ERROR("failed to find panel\n"); | ||
452 | return -EPROBE_DEFER; | 451 | return -EPROBE_DEFER; |
453 | } | ||
454 | } | 452 | } |
455 | 453 | ||
456 | dp = devm_kzalloc(dev, sizeof(*dp), GFP_KERNEL); | 454 | dp = devm_kzalloc(dev, sizeof(*dp), GFP_KERNEL); |