CC: [email protected]
BCC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Charles Mirabile <[email protected]>
CC: Dmitry Torokhov <[email protected]>
CC: Daniel Bauman <[email protected]>
CC: Mwesigwa Guma <[email protected]>
CC: Joel Savitz <[email protected]>
CC: [email protected]
CC: [email protected]

From: kernel test robot <[email protected]>

drivers/input/joystick/sensehat-joystick.c:102:2-9: line 102 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: Charles Mirabile <[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/next/linux-next.git 
master
head:   d3fde8ff50ab265749704bd7fbcf70d35235421f
commit: 41657514c796e1f0a8cf289780aff8f79643b7e5 [5242/14198] Input: add 
Raspberry Pi Sense HAT joystick driver
:::::: branch date: 26 hours ago
:::::: commit date: 5 weeks ago

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

 drivers/input/joystick/sensehat-joystick.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/input/joystick/sensehat-joystick.c
+++ b/drivers/input/joystick/sensehat-joystick.c
@@ -99,7 +99,6 @@ static int sensehat_joystick_probe(struc
 
        irq = platform_get_irq(pdev, 0);
        if (irq < 0) {
-               dev_err(&pdev->dev, "Could not retrieve interrupt request");
                return irq;
        }
 
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to