summaryrefslogtreecommitdiff
path: root/drivers/power/supply/qcom_smbb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/supply/qcom_smbb.c')
-rw-r--r--drivers/power/supply/qcom_smbb.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/power/supply/qcom_smbb.c b/drivers/power/supply/qcom_smbb.c
index c890e1cec720..84cc9fba029d 100644
--- a/drivers/power/supply/qcom_smbb.c
+++ b/drivers/power/supply/qcom_smbb.c
@@ -929,11 +929,8 @@ static int smbb_charger_probe(struct platform_device *pdev)
int irq;
irq = platform_get_irq_byname(pdev, smbb_charger_irqs[i].name);
- if (irq < 0) {
- dev_err(&pdev->dev, "failed to get irq '%s'\n",
- smbb_charger_irqs[i].name);
+ if (irq < 0)
return irq;
- }
smbb_charger_irqs[i].handler(irq, chg);