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 <dkeitel@codeaurora.org>
This commit is contained in:
David Keitel
2012-03-05 16:10:36 -08:00
committed by Abhijeet Dharmapurikar
parent c9ba27184e
commit a1648831cd

View File

@@ -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);