From a1648831cda226f9cd57795f90176a4e2df75416 Mon Sep 17 00:00:00 2001 From: David Keitel Date: Mon, 5 Mar 2012 16:10:36 -0800 Subject: [PATCH] power: pm8921-charger: remove obsolete wakelock Remove an obsolete wakelock which used to be part of the reverse boost fix. The wakelock is not required because the reverse boost fix relies on the loop change interrupt when the device is suspended. Change-Id: Ieea5bcfa76727486a76e238ff1568904170d8545 Signed-off-by: David Keitel --- drivers/power/pm8921-charger.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/power/pm8921-charger.c b/drivers/power/pm8921-charger.c index a019f93b80a..9b8ea48c4e3 100644 --- a/drivers/power/pm8921-charger.c +++ b/drivers/power/pm8921-charger.c @@ -258,7 +258,6 @@ struct pm8921_chg_chip { struct delayed_work eoc_work; struct work_struct unplug_ovp_fet_open_work; struct delayed_work unplug_check_work; - struct wake_lock unplug_ovp_fet_open_wake_lock; struct wake_lock eoc_wake_lock; enum pm8921_chg_cold_thr cold_thr; enum pm8921_chg_hot_thr hot_thr; @@ -3651,8 +3650,6 @@ static int __devinit pm8921_charger_probe(struct platform_device *pdev) the_chip = chip; wake_lock_init(&chip->eoc_wake_lock, WAKE_LOCK_SUSPEND, "pm8921_eoc"); - wake_lock_init(&chip->unplug_ovp_fet_open_wake_lock, - WAKE_LOCK_SUSPEND, "pm8921_unplug_wrkarnd"); INIT_DELAYED_WORK(&chip->eoc_work, eoc_worker); INIT_WORK(&chip->unplug_ovp_fet_open_work, unplug_ovp_fet_open_worker);