[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200420133704.18364-1-tangbin@cmss.chinamobile.com>
Date: Mon, 20 Apr 2020 21:37:04 +0800
From: Tang Bin <tangbin@...s.chinamobile.com>
To: ssantosh@...nel.org
Cc: linux-kernel@...r.kernel.org,
Tang Bin <tangbin@...s.chinamobile.com>
Subject: [PATCH] memory: emif: omit superfluous error message in emif_probe()
In the function emif_probe(), when get irq failed,
the function platform_get_irq() logs an error message,
so remove redundant message here.
Signed-off-by: Tang Bin <tangbin@...s.chinamobile.com>
---
drivers/memory/emif.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/memory/emif.c b/drivers/memory/emif.c
index 9d9127bf2..3ac9f355d 100644
--- a/drivers/memory/emif.c
+++ b/drivers/memory/emif.c
@@ -1563,11 +1563,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);
--
2.20.1.windows.1
Powered by blists - more mailing lists