aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/lp8788-charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/lp8788-charger.c b/drivers/power/lp8788-charger.c
index f5a48fd68b01..7321b727d484 100644
--- a/drivers/power/lp8788-charger.c
+++ b/drivers/power/lp8788-charger.c
@@ -455,7 +455,7 @@ static void lp8788_charger_event(struct work_struct *work)
455 455
456static bool lp8788_find_irq_id(struct lp8788_charger *pchg, int virq, int *id) 456static bool lp8788_find_irq_id(struct lp8788_charger *pchg, int virq, int *id)
457{ 457{
458 bool found; 458 bool found = false;
459 int i; 459 int i;
460 460
461 for (i = 0; i < pchg->num_irqs; i++) { 461 for (i = 0; i < pchg->num_irqs; i++) {