diff options
| author | Pan Chuang <panchuang@vivo.com> | 2026-07-09 11:34:12 +0800 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-07-18 02:59:11 +0200 |
| commit | 406b652bf9c47d6e784fd2ab723e6798d322ef47 (patch) | |
| tree | 41bc67206acf15f688fcce6b54dde5c925f1eee6 | |
| parent | a69f6b1e30f72c5fdeab81319c378ebb6e539803 (diff) | |
| download | linux-406b652bf9c47d6e784fd2ab723e6798d322ef47.tar.gz linux-406b652bf9c47d6e784fd2ab723e6798d322ef47.zip | |
power: supply: rt9455_charger: Remove redundant dev_err()/dev_err_probe()
The devm_request_threaded_irq() and devm_request_irq() now automatically
log detailed error messages on failure. This eliminates the need for
driver-specific dev_err() and dev_err_probe() calls that previously
printed generic messages.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
Link: https://patch.msgid.link/20260709033428.362970-34-panchuang@vivo.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
| -rw-r--r-- | drivers/power/supply/rt9455_charger.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/power/supply/rt9455_charger.c b/drivers/power/supply/rt9455_charger.c index 7045d2908148..4f3a799db654 100644 --- a/drivers/power/supply/rt9455_charger.c +++ b/drivers/power/supply/rt9455_charger.c @@ -1676,10 +1676,8 @@ static int rt9455_probe(struct i2c_client *client) rt9455_irq_handler_thread, IRQF_TRIGGER_LOW | IRQF_ONESHOT, RT9455_DRIVER_NAME, info); - if (ret) { - dev_err(dev, "Failed to register IRQ handler\n"); + if (ret) goto put_usb_notifier; - } ret = rt9455_hw_init(info, ichrg, ieoc_percentage, mivr, iaicr); if (ret) { |
