aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2012-06-19 18:04:30 -0700
committerArve Hjønnevåg <arve@android.com>2013-04-29 14:42:55 -0700
commit5f35efa0657297cc415c4749f89838c3b7b495f1 (patch)
tree8d4a1156c3bcc79897a727e6721850f18d944712 /include
parentaec0e0849eb2d6273a2e0e73bfe553ce73907b8c (diff)
power_supply: convert wakelock to wakeup source
And supply name will be used as wakeup source name. Change-Id: I53075491c6e1a4c66755afe8a40b7166cd8d6cb2 Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/power_supply.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index 3c0d74182d2..f55af17ac76 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -13,7 +13,6 @@
#ifndef __LINUX_POWER_SUPPLY_H__
#define __LINUX_POWER_SUPPLY_H__
-#include <linux/wakelock.h>
#include <linux/workqueue.h>
#include <linux/leds.h>
@@ -191,7 +190,6 @@ struct power_supply {
struct work_struct changed_work;
spinlock_t changed_lock;
bool changed;
- struct wake_lock work_wake_lock;
#ifdef CONFIG_THERMAL
struct thermal_zone_device *tzd;
struct thermal_cooling_device *tcd;