Skip to content

Commit 2f76a89

Browse files
committed
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>
1 parent 2014c95 commit 2f76a89

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

drivers/memory/tegra/tegra20-emc.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,10 +1191,8 @@ static int tegra_emc_probe(struct platform_device *pdev)
11911191
int irq, err;
11921192

11931193
irq = platform_get_irq(pdev, 0);
1194-
if (irq < 0) {
1195-
dev_err(&pdev->dev, "please update your device tree\n");
1194+
if (irq < 0)
11961195
return irq;
1197-
}
11981196

11991197
emc = devm_kzalloc(&pdev->dev, sizeof(*emc), GFP_KERNEL);
12001198
if (!emc)

0 commit comments

Comments
 (0)