|
@@ -98,11 +98,6 @@ static inline bool pm_runtime_status_suspended(struct device *dev)
|
|
|
return dev->power.runtime_status == RPM_SUSPENDED;
|
|
|
}
|
|
|
|
|
|
-static inline bool pm_runtime_suspended_if_enabled(struct device *dev)
|
|
|
-{
|
|
|
- return pm_runtime_status_suspended(dev) && dev->power.disable_depth == 1;
|
|
|
-}
|
|
|
-
|
|
|
static inline bool pm_runtime_enabled(struct device *dev)
|
|
|
{
|
|
|
return !dev->power.disable_depth;
|
|
@@ -164,7 +159,6 @@ static inline void device_set_run_wake(struct device *dev, bool enable) {}
|
|
|
static inline bool pm_runtime_suspended(struct device *dev) { return false; }
|
|
|
static inline bool pm_runtime_active(struct device *dev) { return true; }
|
|
|
static inline bool pm_runtime_status_suspended(struct device *dev) { return false; }
|
|
|
-static inline bool pm_runtime_suspended_if_enabled(struct device *dev) { return false; }
|
|
|
static inline bool pm_runtime_enabled(struct device *dev) { return false; }
|
|
|
|
|
|
static inline void pm_runtime_no_callbacks(struct device *dev) {}
|