From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 09 Dec 2023 07:24:11 +0000 Subject: [PATCH] add stmac read mac form eeprom --- kernel/drivers/input/touchscreen/bcm_iproc_tsc.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/kernel/drivers/input/touchscreen/bcm_iproc_tsc.c b/kernel/drivers/input/touchscreen/bcm_iproc_tsc.c index 4d11b27..7de1fd2 100644 --- a/kernel/drivers/input/touchscreen/bcm_iproc_tsc.c +++ b/kernel/drivers/input/touchscreen/bcm_iproc_tsc.c @@ -489,10 +489,8 @@ /* get interrupt */ irq = platform_get_irq(pdev, 0); - if (irq < 0) { - dev_err(&pdev->dev, "platform_get_irq failed: %d\n", irq); + if (irq < 0) return irq; - } error = devm_request_irq(&pdev->dev, irq, iproc_touchscreen_interrupt, -- Gitblit v1.6.2