diff options
author | 2025-01-16 17:43:29 +0200 | |
---|---|---|
committer | 2025-01-23 21:21:21 +0100 | |
commit | 4891cd3eba62ac611a7929948cf5588a1abed909 (patch) | |
tree | 53ad942c907729afdf95919165d554317b796983 | |
parent | PM: hibernate: Add error handling for syscore_suspend() (diff) | |
download | wireguard-linux-4891cd3eba62ac611a7929948cf5588a1abed909.tar.xz wireguard-linux-4891cd3eba62ac611a7929948cf5588a1abed909.zip |
PM: Revert "Add EXPORT macros for exporting PM functions"
Revert commit 41a337b40e98 ("Add EXPORT macros for exporting PM
functions") because the macros added by it are still unused almost
two years after they had been introduced.
Reported-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250116154354.149297-1-andriy.shevchenko@linux.intel.com
[ rjw: New changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '')
-rw-r--r-- | include/linux/pm.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h index e7f0260f15ad..0627a795892b 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -384,12 +384,8 @@ const struct dev_pm_ops name = { \ #ifdef CONFIG_PM #define _EXPORT_DEV_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns) -#define EXPORT_PM_FN_GPL(name) EXPORT_SYMBOL_GPL(name) -#define EXPORT_PM_FN_NS_GPL(name, ns) EXPORT_SYMBOL_NS_GPL(name, "ns") #else #define _EXPORT_DEV_PM_OPS(name, license, ns) _DISCARD_PM_OPS(name, license, ns) -#define EXPORT_PM_FN_GPL(name) -#define EXPORT_PM_FN_NS_GPL(name, ns) #endif #ifdef CONFIG_PM_SLEEP |