Skip to content

Commit 4891cd3

Browse files
andy-shevrafaeljw
authored andcommitted
PM: Revert "Add EXPORT macros for exporting PM functions"
Revert commit 41a337b ("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>
1 parent e20a70c commit 4891cd3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

include/linux/pm.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -384,12 +384,8 @@ const struct dev_pm_ops name = { \
384384

385385
#ifdef CONFIG_PM
386386
#define _EXPORT_DEV_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns)
387-
#define EXPORT_PM_FN_GPL(name) EXPORT_SYMBOL_GPL(name)
388-
#define EXPORT_PM_FN_NS_GPL(name, ns) EXPORT_SYMBOL_NS_GPL(name, "ns")
389387
#else
390388
#define _EXPORT_DEV_PM_OPS(name, license, ns) _DISCARD_PM_OPS(name, license, ns)
391-
#define EXPORT_PM_FN_GPL(name)
392-
#define EXPORT_PM_FN_NS_GPL(name, ns)
393389
#endif
394390

395391
#ifdef CONFIG_PM_SLEEP

0 commit comments

Comments
 (0)