mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
memory: tegra20-emc: Drop redundant platform_get_irq() error printk
platform_get_irq() already prints error message, so duplicating it is redundant. The message about "need of updating DT" makes no sense, because this code was there since beginning. Link: https://lore.kernel.org/r/20250104141430.115031-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
parent
2014c95afe
commit
2f76a890fd
|
|
@ -1191,10 +1191,8 @@ static int tegra_emc_probe(struct platform_device *pdev)
|
|||
int irq, err;
|
||||
|
||||
irq = platform_get_irq(pdev, 0);
|
||||
if (irq < 0) {
|
||||
dev_err(&pdev->dev, "please update your device tree\n");
|
||||
if (irq < 0)
|
||||
return irq;
|
||||
}
|
||||
|
||||
emc = devm_kzalloc(&pdev->dev, sizeof(*emc), GFP_KERNEL);
|
||||
if (!emc)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user