power: supply: max77705: Drop duplicated IRQ error message

Core already prints error message on devm_request_threaded_irq()
failure, so no need to do that second time.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260305-workqueue-devm-v2-3-66a38741c652@oss.qualcomm.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
Krzysztof Kozlowski
2026-03-05 22:45:42 +01:00
committed by Sebastian Reichel
parent db254b0b23
commit 2064c64ceb

View File

@@ -666,19 +666,15 @@ static int max77705_charger_probe(struct i2c_client *i2c)
NULL, max77705_chgin_irq,
IRQF_TRIGGER_NONE,
"chgin-irq", chg);
if (ret) {
dev_err_probe(dev, ret, "Failed to Request chgin IRQ\n");
if (ret)
goto destroy_wq;
}
ret = devm_request_threaded_irq(dev, regmap_irq_get_virq(irq_data, MAX77705_AICL_I),
NULL, max77705_aicl_irq,
IRQF_TRIGGER_NONE,
"aicl-irq", chg);
if (ret) {
dev_err_probe(dev, ret, "Failed to Request aicl IRQ\n");
if (ret)
goto destroy_wq;
}
ret = max77705_charger_enable(chg);
if (ret) {