CC: [email protected]
CC: [email protected]
TO: Roman Kiryanov <[email protected]>
CC: Sebastian Reichel <[email protected]>
CC: [email protected]
CC: [email protected]

From: kernel test robot <[email protected]>

drivers/power/supply/goldfish_battery.c:225:2-9: line 225 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: Roman Kiryanov <[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:   6f513529296fd4f696afb4354c46508abe646541
commit: 570b7c0ea20c0156411394bc215114f7b1dc18ff power: supply: goldfish: 
Remove the GOLDFISH dependency
:::::: branch date: 9 hours ago
:::::: commit date: 8 months ago

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

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

--- a/drivers/power/supply/goldfish_battery.c
+++ b/drivers/power/supply/goldfish_battery.c
@@ -222,7 +222,6 @@ static int goldfish_battery_probe(struct
 
        data->irq = platform_get_irq(pdev, 0);
        if (data->irq < 0) {
-               dev_err(&pdev->dev, "platform_get_irq failed\n");
                return -ENODEV;
        }
 
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to