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: Wang Qing <wangqing@vivo.com> Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
This commit is contained in:
parent
6186551318
commit
4accca4399
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user