CC: [email protected]
CC: [email protected]
TO: Viktor Prutyanov <[email protected]>
CC: Mauro Carvalho Chehab <[email protected]>
CC: [email protected]
CC: Sean Young <[email protected]>
CC: Neil Armstrong <[email protected]>
CC: Kevin Hilman <[email protected]>
CC: Jerome Brunet <[email protected]>
CC: Martin Blumenstingl <[email protected]>
CC: [email protected]
CC: [email protected]

From: kernel test robot <[email protected]>

drivers/media/rc/meson-ir-tx.c:327:2-9: line 327 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: Viktor Prutyanov <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: kernel test robot <[email protected]>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   58e1100fdc5990b0cc0d4beaf2562a92e621ac7d
commit: 49be1c78d575eedf862a05aebfd5ab5c24193f61 media: rc: introduce Meson IR 
TX driver
:::::: branch date: 25 hours ago
:::::: commit date: 4 months ago

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

 meson-ir-tx.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/media/rc/meson-ir-tx.c
+++ b/drivers/media/rc/meson-ir-tx.c
@@ -324,7 +324,6 @@ static int __init meson_irtx_probe(struc
 
        irq = platform_get_irq(pdev, 0);
        if (irq < 0) {
-               dev_err(dev, "no irq resource found\n");
                return -ENODEV;
        }
 
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to