summaryrefslogtreecommitdiff
path: root/drivers/memory/emif.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-07-24 10:40:23 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2020-07-24 17:18:32 +0300
commite79f3849377d86ad9f73e173e07521ef778586b6 (patch)
tree818ed3ed49792ee50c524d5be5c8e9262f8ca648 /drivers/memory/emif.c
parent28dc76f1ed099651d63edd5cfb350bbb3dad8f8d (diff)
downloadlinux-e79f3849377d86ad9f73e173e07521ef778586b6.tar.xz
memory: emif: Silence platform_get_irq() error in driver
The platform_get_irq() already prints error message so there is no need to do it again in the driver. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/memory/emif.c')
-rw-r--r--drivers/memory/emif.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/memory/emif.c b/drivers/memory/emif.c
index 5aa896e0a75a..bb6a71d26798 100644
--- a/drivers/memory/emif.c
+++ b/drivers/memory/emif.c
@@ -1561,11 +1561,8 @@ static int __init_or_module emif_probe(struct platform_device *pdev)
goto error;
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_err(emif->dev, "%s: error getting IRQ resource - %d\n",
- __func__, irq);
+ if (irq < 0)
goto error;
- }
emif_onetime_settings(emif);
emif_debugfs_init(emif);