diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2020-11-04 19:49:06 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-11-26 20:50:35 +0300 |
commit | 162641a6e200e935cd39b26737f3ec0b5ea856fb (patch) | |
tree | 161ffad06dd18bd681261a819546fd83244a506f /drivers/memory/tegra/tegra30-emc.c | |
parent | 4e84d0a6e1206fda47395b5d3af1453e013d7b38 (diff) | |
download | linux-162641a6e200e935cd39b26737f3ec0b5ea856fb.tar.xz |
memory: tegra: Remove superfluous error messages around platform_get_irq()
The platform_get_irq() prints error message telling that interrupt is
missing, hence there is no need to duplicated that message in the drivers.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20201104164923.21238-31-digetx@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/memory/tegra/tegra30-emc.c')
-rw-r--r-- | drivers/memory/tegra/tegra30-emc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/memory/tegra/tegra30-emc.c b/drivers/memory/tegra/tegra30-emc.c index c58cf31cb27b..1be28e28ec34 100644 --- a/drivers/memory/tegra/tegra30-emc.c +++ b/drivers/memory/tegra/tegra30-emc.c @@ -1299,10 +1299,9 @@ static int tegra_emc_probe(struct platform_device *pdev) return err; err = platform_get_irq(pdev, 0); - if (err < 0) { - dev_err(&pdev->dev, "interrupt not specified: %d\n", err); + if (err < 0) return err; - } + emc->irq = err; err = devm_request_irq(&pdev->dev, emc->irq, tegra_emc_isr, 0, |