Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 -3
+1 -3
drivers/memory/tegra/tegra20-emc.c
··· 1191 1191 int irq, err; 1192 1192 1193 1193 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) 1196 1195 return irq; 1197 - } 1198 1196 1199 1197 emc = devm_kzalloc(&pdev->dev, sizeof(*emc), GFP_KERNEL); 1200 1198 if (!emc)