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-06-11 17:46:41 -0700
commit02ecb45bcba754417fb68deed09eba4a20a5a890 (patch)
treebf7150a7114abf7358cca4be23b5140a11689494 /include
parent1b5a74305ef8e6299ed6ce12ecc78a5da1dc82e4 (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 0b925bf0375..de207ebb917 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>
@@ -197,7 +196,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;