diff options
| author | Pan Chuang <panchuang@vivo.com> | 2026-07-20 14:37:36 +0800 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-08-10 08:59:41 -0700 |
| commit | ff72fc130f9677463b7d29f009079621cffdb4b1 (patch) | |
| tree | 9819d5ca1361ed2cabb9e737e4df24201a7f3abc | |
| parent | 93238564c0be57a59d3fb4d902e36effc14ca2b9 (diff) | |
| download | linux-ff72fc130f9677463b7d29f009079621cffdb4b1.tar.gz linux-ff72fc130f9677463b7d29f009079621cffdb4b1.zip | |
hwmon: (da9055) Remove redundant dev_err()
Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_threaded_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err() call.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
Link: https://lore.kernel.org/r/20260720063745.309331-3-panchuang@vivo.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
| -rw-r--r-- | drivers/hwmon/da9055-hwmon.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/hwmon/da9055-hwmon.c b/drivers/hwmon/da9055-hwmon.c index 7652d553b8ea..7d330baa0f05 100644 --- a/drivers/hwmon/da9055-hwmon.c +++ b/drivers/hwmon/da9055-hwmon.c @@ -256,11 +256,8 @@ static int da9055_hwmon_probe(struct platform_device *pdev) NULL, da9055_auxadc_irq, IRQF_TRIGGER_HIGH | IRQF_ONESHOT, "adc-irq", hwmon); - if (ret != 0) { - dev_err(hwmon->da9055->dev, "DA9055 ADC IRQ failed ret=%d\n", - ret); + if (ret != 0) return ret; - } hwmon_dev = devm_hwmon_device_register_with_groups(dev, "da9055", hwmon, |
