diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2018-05-09 04:46:34 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-10 05:55:12 -0400 |
commit | ff5f078e20dc67811b94a3bce5dee23f668068d1 (patch) | |
tree | 1d361f61b1ae7a508c2e2ec34e1d8c5d1cb6e13c | |
parent | abcab87587cc4d04647eb9aaa11b26eacb3f0c13 (diff) |
PM / core: Drop unused internal inline functions for wakeirqs
The inline versions of dev_pm_arm|disarm_wake_irq() and
dev_pm_enable|disable_wake_irq_check() are not being used while CONFIG_PM
is unset, hence let's drop them.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/base/power/power.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h index f38d178ca395..be409103fb62 100644 --- a/drivers/base/power/power.h +++ b/drivers/base/power/power.h | |||
@@ -93,23 +93,6 @@ static inline void wakeup_sysfs_remove(struct device *dev) {} | |||
93 | static inline int pm_qos_sysfs_add(struct device *dev) { return 0; } | 93 | static inline int pm_qos_sysfs_add(struct device *dev) { return 0; } |
94 | static inline void pm_qos_sysfs_remove(struct device *dev) {} | 94 | static inline void pm_qos_sysfs_remove(struct device *dev) {} |
95 | 95 | ||
96 | static inline void dev_pm_arm_wake_irq(struct wake_irq *wirq) | ||
97 | { | ||
98 | } | ||
99 | |||
100 | static inline void dev_pm_disarm_wake_irq(struct wake_irq *wirq) | ||
101 | { | ||
102 | } | ||
103 | |||
104 | static inline void dev_pm_enable_wake_irq_check(struct device *dev, | ||
105 | bool can_change_status) | ||
106 | { | ||
107 | } | ||
108 | |||
109 | static inline void dev_pm_disable_wake_irq_check(struct device *dev) | ||
110 | { | ||
111 | } | ||
112 | |||
113 | #endif | 96 | #endif |
114 | 97 | ||
115 | #ifdef CONFIG_PM_SLEEP | 98 | #ifdef CONFIG_PM_SLEEP |