summaryrefslogtreecommitdiff
path: root/include/linux/pm_wakeirq.h
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-07-13 17:57:40 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-07-24 10:51:51 +0300
commite7b915219baa4b2bf30afe1dbaca7a24ff627ad2 (patch)
tree714d94923e8441180e190fe8d5063d89f1e999d0 /include/linux/pm_wakeirq.h
parent8527beb12087238d4387607597b4020bc393c4b4 (diff)
downloadlinux-e7b915219baa4b2bf30afe1dbaca7a24ff627ad2.tar.xz
PM: sleep: wakeirq: drop unused enable helpers
Drop the wake-irq enable and disable helpers which have not been used since commit bed570307ed7 ("PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend"). Note that these functions are essentially just leftovers from the first iteration of the wake-irq implementation where device drivers were supposed to call these functions themselves instead of PM core (as is also indicated by the bogus kernel doc comments). Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/pm_wakeirq.h')
-rw-r--r--include/linux/pm_wakeirq.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/pm_wakeirq.h b/include/linux/pm_wakeirq.h
index dd42d16945d0..d9642c6cf852 100644
--- a/include/linux/pm_wakeirq.h
+++ b/include/linux/pm_wakeirq.h
@@ -10,8 +10,6 @@ extern int dev_pm_set_wake_irq(struct device *dev, int irq);
extern int dev_pm_set_dedicated_wake_irq(struct device *dev, int irq);
extern int dev_pm_set_dedicated_wake_irq_reverse(struct device *dev, int irq);
extern void dev_pm_clear_wake_irq(struct device *dev);
-extern void dev_pm_enable_wake_irq(struct device *dev);
-extern void dev_pm_disable_wake_irq(struct device *dev);
#else /* !CONFIG_PM */
@@ -34,13 +32,5 @@ static inline void dev_pm_clear_wake_irq(struct device *dev)
{
}
-static inline void dev_pm_enable_wake_irq(struct device *dev)
-{
-}
-
-static inline void dev_pm_disable_wake_irq(struct device *dev)
-{
-}
-
#endif /* CONFIG_PM */
#endif /* _LINUX_PM_WAKEIRQ_H */