Commit 4accca43 authored by Wang Qing's avatar Wang Qing Committed by Chun-Kuang Hu
Browse files

drm/mediatek: dpi: Delete redundant printing of return value



platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, it is not necessary at all.

Signed-off-by: default avatarWang Qing <wangqing@vivo.com>
Signed-off-by: default avatarChun-Kuang Hu <chunkuang.hu@kernel.org>
parent 61865513
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -751,10 +751,8 @@ static int mtk_dpi_probe(struct platform_device *pdev)
	}

	dpi->irq = platform_get_irq(pdev, 0);
	if (dpi->irq <= 0) {
		dev_err(dev, "Failed to get irq: %d\n", dpi->irq);
	if (dpi->irq <= 0)
		return -EINVAL;
	}

	ret = drm_of_find_panel_or_bridge(dev->of_node, 0, 0,
					  NULL, &dpi->next_bridge);