PM: Rename dev_pm_info.in_suspend to is_prepared
[firefly-linux-kernel-4.4.55.git] / include / linux / pm.h
index 3160648ccdda1ffe47312d3b2e90b368f36898f3..cc536bd8098468c25dd09f146d9dadcf6b5e0823 100644 (file)
@@ -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;