summaryrefslogtreecommitdiff
path: root/include/linux/pm.h
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2005-09-23 05:30:48 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 23:47:39 (GMT)
commite9b7bd4ee7f6e3ee002dc72c5211cd97c7186d00 (patch)
tree03eb4c6ae1529c904a3aca42fa597f8548bddcb4 /include/linux/pm.h
parenta1d59ce842a35b552f22868404e4e7c923242257 (diff)
downloadlinux-fsl-qoriq-e9b7bd4ee7f6e3ee002dc72c5211cd97c7186d00.tar.xz
[PATCH] one less word in struct device
This saves a word from "struct device" ... there's a refcounting mechanism stub that's rather ineffective (the values are never even tested!), which can safely be deleted. With this patch it uses normal device refcounting, so any potential users of the pm_parent mechanism will be more correct. (That mechanism is actually unusable for now though; it does nothing.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> drivers/base/power/main.c | 26 +++----------------------- include/linux/pm.h | 1 - 2 files changed, 3 insertions(+), 24 deletions(-)
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r--include/linux/pm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h
index 7897cf5..83bae1c 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -224,7 +224,6 @@ struct dev_pm_info {
unsigned should_wakeup:1;
pm_message_t prev_state;
void * saved_state;
- atomic_t pm_users;
struct device * pm_parent;
struct list_head entry;
#endif