[1/4] PM / core: Drop internal unused inline functions for wakeups
diff mbox

Message ID 1525855596-18116-2-git-send-email-ulf.hansson@linaro.org
State Mainlined
Delegated to: Rafael Wysocki
Headers show

Commit Message

Ulf Hansson May 9, 2018, 8:46 a.m. UTC
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(-)

Comments

Tony Lindgren May 9, 2018, 2:29 p.m. UTC | #1
* 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>

Patch
diff mbox

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 */
 
 /*