summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/common.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-09-28 17:26:13 +0300
committerArnd Bergmann <arnd@arndb.de>2023-01-09 19:00:54 +0300
commitd2200da9e6dec280b0ed02e76d5e9e71573eea1e (patch)
tree8477c2104ae49a3b1dc1b5c936fdf7e798ce543b /arch/arm/mach-omap2/common.h
parenta1080f6165d7ae9a32efde5b2fcd11d9076eb7f0 (diff)
downloadlinux-d2200da9e6dec280b0ed02e76d5e9e71573eea1e.tar.xz
ARM: omap2: remove unused omap2_pm_init
The omap2420_init_late() and omap2430_init_late() functions are never called. Removing them also shows that the entire arch/arm/mach-omap2/pm24xx.c file is unused and can be removed. Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-omap2/common.h')
-rw-r--r--arch/arm/mach-omap2/common.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h
index 112e7966107c..ebf0266e1943 100644
--- a/arch/arm/mach-omap2/common.h
+++ b/arch/arm/mach-omap2/common.h
@@ -44,15 +44,6 @@
extern int (*omap_pm_soc_init)(void);
int omap_pm_nop_init(void);
-#if defined(CONFIG_PM) && defined(CONFIG_ARCH_OMAP2)
-int omap2_pm_init(void);
-#else
-static inline int omap2_pm_init(void)
-{
- return 0;
-}
-#endif
-
#if defined(CONFIG_PM) && defined(CONFIG_ARCH_OMAP3)
int omap3_pm_init(void);
#else