Message ID | 1525855596-18116-2-git-send-email-ulf.hansson@linaro.org |
---|---|
State | Accepted |
Commit | abcab87587cc4d04647eb9aaa11b26eacb3f0c13 |
Headers | show |
Series | PM / core: Remove unused functions from power.h | expand |
* Ulf Hansson <ulf.hansson@linaro.org> [180509 08:48]: > The inline versions of device_wakeup_arm|disarm_wake_irqs(), which are > available while when CONFIG_PM is set and CONFIG_PM_SLEEP unset, are not > being used, hence let's drop them. Makes sens to me if randconfig builds still keep working: Acked-by: Tony Lindgren <tony@atomide.com>
diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h index 86e67e7..f38d178 100644 --- a/drivers/base/power/power.h +++ b/drivers/base/power/power.h @@ -56,14 +56,6 @@ static inline void device_wakeup_detach_irq(struct device *dev) { } -static inline void device_wakeup_arm_wake_irqs(void) -{ -} - -static inline void device_wakeup_disarm_wake_irqs(void) -{ -} - #endif /* CONFIG_PM_SLEEP */ /*
The inline versions of device_wakeup_arm|disarm_wake_irqs(), which are available while when CONFIG_PM is set and CONFIG_PM_SLEEP unset, are not being used, hence let's drop them. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> --- drivers/base/power/power.h | 8 -------- 1 file changed, 8 deletions(-) -- 2.7.4