Skip to content

Commit d918fe4

Browse files
elfringsuperna9999
authored andcommitted
drm/meson: Delete an error message in meson_dw_hdmi_bind()
The function “platform_get_irq” can log an error already. Thus omit a redundant message for the exception handling in the calling function. This issue was detected by using the Coccinelle software. Fixes: 3f68be7 ("drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY") Signed-off-by: Markus Elfring <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 1e8a6ce commit d918fe4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/gpu/drm/meson/meson_dw_hdmi.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,10 +1034,8 @@ static int meson_dw_hdmi_bind(struct device *dev, struct device *master,
10341034
return PTR_ERR(dw_plat_data->regm);
10351035

10361036
irq = platform_get_irq(pdev, 0);
1037-
if (irq < 0) {
1038-
dev_err(dev, "Failed to get hdmi top irq\n");
1037+
if (irq < 0)
10391038
return irq;
1040-
}
10411039

10421040
ret = devm_request_threaded_irq(dev, irq, dw_hdmi_top_irq,
10431041
dw_hdmi_top_thread_irq, IRQF_SHARED,

0 commit comments

Comments
 (0)