mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 07:34:03 -04:00
drm/mediatek: cec: 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: tangchunyou <tangchunyou@yulong.com> Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
This commit is contained in:
committed by
Chun-Kuang Hu
parent
4accca4399
commit
ee5ee188e2
@@ -208,10 +208,8 @@ static int mtk_cec_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
cec->irq = platform_get_irq(pdev, 0);
|
||||
if (cec->irq < 0) {
|
||||
dev_err(dev, "Failed to get cec irq: %d\n", cec->irq);
|
||||
if (cec->irq < 0)
|
||||
return cec->irq;
|
||||
}
|
||||
|
||||
ret = devm_request_threaded_irq(dev, cec->irq, NULL,
|
||||
mtk_cec_htplg_isr_thread,
|
||||
|
||||
Reference in New Issue
Block a user