CC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Lad Prabhakar <[email protected]>
CC: Jonathan Cameron <[email protected]>
CC: Biju Das <[email protected]>
CC: "Lars-Peter Clausen" <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]

From: kernel test robot <[email protected]>

drivers/iio/adc/rzg2l_adc.c:510:2-9: line 510 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: Lad Prabhakar <[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:   33e65b1f975cd2814fc0ea9617250fc4c1d7a553
commit: d484c21bacfa8bd2fa9fc26393ec59108f508c4c [7455/9113] iio: adc: Add 
driver for Renesas RZ/G2L A/D converter
:::::: branch date: 5 hours ago
:::::: commit date: 4 days ago

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

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

--- a/drivers/iio/adc/rzg2l_adc.c
+++ b/drivers/iio/adc/rzg2l_adc.c
@@ -507,7 +507,6 @@ static int rzg2l_adc_probe(struct platfo
 
        irq = platform_get_irq(pdev, 0);
        if (irq < 0) {
-               dev_err(dev, "no irq resource\n");
                return irq;
        }
 
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to