aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/pm.h
diff options
context:
space:
mode:
authorDmitry Osipenko <dmitry.osipenko@collabora.com>2022-05-10 02:32:32 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-05-19 19:30:31 +0200
commit5b71808eb7c97815fc3b9c386ca0ef6daf2dc053 (patch)
tree235a9d2069620f8c4e21ce60f16315ff265ffe05 /include/linux/pm.h
parentregulator: pfuze100: Use devm_register_sys_off_handler() (diff)
downloadwireguard-linux-5b71808eb7c97815fc3b9c386ca0ef6daf2dc053.tar.xz
wireguard-linux-5b71808eb7c97815fc3b9c386ca0ef6daf2dc053.zip
reboot: Remove pm_power_off_prepare()
All pm_power_off_prepare() users were converted to sys-off handler API. Remove the obsolete global callback variable. Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r--include/linux/pm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h
index e65b3ab28377..3786d306dad2 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -21,7 +21,6 @@
* Callbacks for platform drivers to implement.
*/
extern void (*pm_power_off)(void);
-extern void (*pm_power_off_prepare)(void);
struct device; /* we have a circular dep with device.h */
#ifdef CONFIG_VT_CONSOLE_SLEEP