Commit cb8d9937 authored by kbuild test robot's avatar kbuild test robot Committed by Linus Torvalds
Browse files

drivers/dma/tegra20-apb-dma.c: fix platform_get_irq.cocci warnings

Remove dev_err() messages after platform_get_irq*() failures.
platform_get_irq() already prints an error.

Generated by: scripts/coccinelle/api/platform_get_irq.cocci

Fixes: 6c41ac96

 ("dmaengine: tegra-apb: Support COMPILE_TEST")
Signed-off-by: default avatarkbuild test robot <>
Signed-off-by: default avatarJulia Lawall <>
Signed-off-by: default avatarAndrew Morton <>
Reviewed-by: default avatarDmitry Osipenko <>
Acked-by: default avatarThierry Reding <>
Cc: Laxman Dewangan <>
Cc: Vinod Koul <>
Cc: Stephen Warren <>
Cc: Jon Hunter <>

Signed-off-by: default avatarLinus Torvalds <>
parent 149ed3d4
......@@ -1493,7 +1493,6 @@ static int tegra_dma_probe(struct platform_device *pdev)
irq = platform_get_irq(pdev, i);
if (irq < 0) {
ret = irq;
dev_err(&pdev->dev, "No irq resource for chan %d\n", i);
goto err_pm_disable;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment