linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH] ARM: OMAP2+: CM: remove omap2_set_globals_cm()
@ 2021-04-25 14:22 Dario Binacchi
  2021-05-21  9:28 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Dario Binacchi @ 2021-04-25 14:22 UTC (permalink / raw)
  To: linux-kernel
  Cc: Dario Binacchi, Russell King, Tony Lindgren, linux-arm-kernel,
	linux-omap

The function is no longer used, so let's remove it.

Signed-off-by: Dario Binacchi <dariobin@libero.it>

---

 arch/arm/mach-omap2/cm.h        |  1 -
 arch/arm/mach-omap2/cm_common.c | 13 -------------
 2 files changed, 14 deletions(-)

diff --git a/arch/arm/mach-omap2/cm.h b/arch/arm/mach-omap2/cm.h
index d02fe63dab59..14beb59e5f7b 100644
--- a/arch/arm/mach-omap2/cm.h
+++ b/arch/arm/mach-omap2/cm.h
@@ -26,7 +26,6 @@
 
 extern struct omap_domain_base cm_base;
 extern struct omap_domain_base cm2_base;
-extern void omap2_set_globals_cm(void __iomem *cm, void __iomem *cm2);
 # endif
 
 /*
diff --git a/arch/arm/mach-omap2/cm_common.c b/arch/arm/mach-omap2/cm_common.c
index b7ea609386d5..e2d069fe67f1 100644
--- a/arch/arm/mach-omap2/cm_common.c
+++ b/arch/arm/mach-omap2/cm_common.c
@@ -37,19 +37,6 @@ struct omap_domain_base cm2_base;
 #define CM_NO_CLOCKS		0x1
 #define CM_SINGLE_INSTANCE	0x2
 
-/**
- * omap2_set_globals_cm - set the CM/CM2 base addresses (for early use)
- * @cm: CM base virtual address
- * @cm2: CM2 base virtual address (if present on the booted SoC)
- *
- * XXX Will be replaced when the PRM/CM drivers are completed.
- */
-void __init omap2_set_globals_cm(void __iomem *cm, void __iomem *cm2)
-{
-	cm_base.va = cm;
-	cm2_base.va = cm2;
-}
-
 /**
  * cm_split_idlest_reg - split CM_IDLEST reg addr into its components
  * @idlest_reg: CM_IDLEST* virtual address
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RESEND PATCH] ARM: OMAP2+: CM: remove omap2_set_globals_cm()
  2021-04-25 14:22 [RESEND PATCH] ARM: OMAP2+: CM: remove omap2_set_globals_cm() Dario Binacchi
@ 2021-05-21  9:28 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2021-05-21  9:28 UTC (permalink / raw)
  To: Dario Binacchi; +Cc: linux-kernel, Russell King, linux-arm-kernel, linux-omap

* Dario Binacchi <dariobin@libero.it> [210425 17:22]:
> The function is no longer used, so let's remove it.

Thanks applying into omap-for-v5.14/cleanup.

Tony

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-21  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-25 14:22 [RESEND PATCH] ARM: OMAP2+: CM: remove omap2_set_globals_cm() Dario Binacchi
2021-05-21  9:28 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).