diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2011-06-18 20:22:23 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-06-21 23:19:50 +0200 |
commit | f76b168b6f117a49d36307053e1acbe30580ea5b (patch) | |
tree | 2aa0cc19b27764d8eb55ce85eaf226a60ce27756 /include/linux/pm.h | |
parent | 78420884e680da8fbc3240de2d3106437042381e (diff) | |
download | linux-f76b168b6f117a49d36307053e1acbe30580ea5b.tar.gz linux-f76b168b6f117a49d36307053e1acbe30580ea5b.tar.bz2 linux-f76b168b6f117a49d36307053e1acbe30580ea5b.zip |
PM: Rename dev_pm_info.in_suspend to is_prepared
This patch (as1473) renames the "in_suspend" field in struct
dev_pm_info to "is_prepared", in preparation for an upcoming change.
The new name is more descriptive of what the field really means.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: stable@kernel.org
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r-- | include/linux/pm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h index 3160648ccdda..cc536bd80984 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -425,7 +425,7 @@ struct dev_pm_info { pm_message_t power_state; unsigned int can_wakeup:1; unsigned int async_suspend:1; - unsigned int in_suspend:1; /* Owned by the PM core */ + bool is_prepared:1; /* Owned by the PM core */ spinlock_t lock; #ifdef CONFIG_PM_SLEEP struct list_head entry; |