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 <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: New changelog ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent e20a70c commit 4891cd3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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)