CC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Dmitry Osipenko <[email protected]>
CC: Thierry Reding <[email protected]>
CC: Krzysztof Kozlowski <[email protected]>
CC: Jonathan Hunter <[email protected]>
CC: Viresh Kumar <[email protected]>
CC: Chanwoo Choi <[email protected]>
CC: [email protected]
CC: [email protected]

From: kernel test robot <[email protected]>

drivers/memory/tegra/tegra20-emc.c:1086:2-9: line 1086 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

Fixes: 56ebc9b0d77e ("memory: tegra: Enable compile testing for all drivers")
CC: Dmitry Osipenko <[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:   c7d4c1fd91ab4a6d2620497921a9c6bf54650ab8
commit: 56ebc9b0d77e0406aba2d900c82e79204cc7dc32 [6065/10489] memory: tegra: 
Enable compile testing for all drivers
:::::: branch date: 21 hours ago
:::::: commit date: 2 weeks ago

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

 tegra20-emc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/memory/tegra/tegra20-emc.c
+++ b/drivers/memory/tegra/tegra20-emc.c
@@ -1083,7 +1083,6 @@ static int tegra_emc_probe(struct platfo
 
        irq = platform_get_irq(pdev, 0);
        if (irq < 0) {
-               dev_err(&pdev->dev, "please update your device tree\n");
                return irq;
        }
 
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to