CC: [email protected]
TO: [email protected]
TO: Guenter Roeck <[email protected]>

From: kernel test robot <[email protected]>

drivers/gpu/drm/mediatek/mtk_dp.c:2939:2-9: line 2939 is redundant because 
platform_get_irq() already prints an error

 Remove dev_err() messages after platform_get_irq*() failures
Generated by: scripts/coccinelle/api/platform_get_irq.cocci

CC: Jitao Shi <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: kernel test robot <[email protected]>
---

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel 
chromeos-5.10
head:   3246f4ed0d71058d829b29bccc2454d305bec8ea
commit: 9fc1f39630d4af841f63428a2cc6cdf6834c1865 [56/90] BACKPORT: FROMLIST: 
drm/mediatek: Add mt8195 DisplayPort driver
:::::: branch date: 10 days ago
:::::: commit date: 10 days ago

Please take the patch only if it's a positive warning. Thanks!

 mtk_dp.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/gpu/drm/mediatek/mtk_dp.c
+++ b/drivers/gpu/drm/mediatek/mtk_dp.c
@@ -2936,7 +2936,6 @@ static int mtk_dp_probe(struct platform_
 
        irq_num = platform_get_irq(pdev, 0);
        if (irq_num < 0) {
-               dev_err(dev, "failed to request dp irq resource\n");
                return -EPROBE_DEFER;
        }
 
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to