All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Remove unused declarations from arm
@ 2022-09-20 13:01 ` Gaosheng Cui
  0 siblings, 0 replies; 14+ messages in thread
From: Gaosheng Cui @ 2022-09-20 13:01 UTC (permalink / raw)
  To: paul, tony, linux, khilman, daniel, haojian.zhuang,
	robert.jarzmik, cuigaosheng1
  Cc: linux-omap, linux-arm-kernel

This series contains a few cleanup patches, to remove unused
declarations which have been removed. Thanks!

Gaosheng Cui (3):
  ARM: OMAP2+: Remove orphan declarations from arch/arm/mach-omap2/pm.h
  ARM: OMAP2+: clock: Remove orphan declarations from
    arch/arm/mach-omap2/clock.h
  ARM: pxa: remove orphan colibri_pxa3xx_init_mmc from
    arch/arm/mach-pxa/colibri.h

 arch/arm/mach-omap2/clock.h | 3 ---
 arch/arm/mach-omap2/pm.h    | 3 ---
 arch/arm/mach-pxa/colibri.h | 6 ------
 3 files changed, 12 deletions(-)

-- 
2.25.1


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

* [PATCH 0/3] Remove unused declarations from arm
@ 2022-09-20 13:01 ` Gaosheng Cui
  0 siblings, 0 replies; 14+ messages in thread
From: Gaosheng Cui @ 2022-09-20 13:01 UTC (permalink / raw)
  To: paul, tony, linux, khilman, daniel, haojian.zhuang,
	robert.jarzmik, cuigaosheng1
  Cc: linux-omap, linux-arm-kernel

This series contains a few cleanup patches, to remove unused
declarations which have been removed. Thanks!

Gaosheng Cui (3):
  ARM: OMAP2+: Remove orphan declarations from arch/arm/mach-omap2/pm.h
  ARM: OMAP2+: clock: Remove orphan declarations from
    arch/arm/mach-omap2/clock.h
  ARM: pxa: remove orphan colibri_pxa3xx_init_mmc from
    arch/arm/mach-pxa/colibri.h

 arch/arm/mach-omap2/clock.h | 3 ---
 arch/arm/mach-omap2/pm.h    | 3 ---
 arch/arm/mach-pxa/colibri.h | 6 ------
 3 files changed, 12 deletions(-)

-- 
2.25.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] 14+ messages in thread

* [PATCH 1/3] ARM: OMAP2+: Remove orphan declarations from arch/arm/mach-omap2/pm.h
  2022-09-20 13:01 ` Gaosheng Cui
@ 2022-09-20 13:01   ` Gaosheng Cui
  -1 siblings, 0 replies; 14+ messages in thread
From: Gaosheng Cui @ 2022-09-20 13:01 UTC (permalink / raw)
  To: paul, tony, linux, khilman, daniel, haojian.zhuang,
	robert.jarzmik, cuigaosheng1
  Cc: linux-omap, linux-arm-kernel

omap24xx_idle_loop_suspend() and omap24xx_idle_loop_suspend_sz have
been removed since commit 088e8806c411 ("ARM: OMAP2xxx: PM: enter
WFI via inline asm if CORE stays active"), so remove them.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 arch/arm/mach-omap2/pm.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h
index 80e84ae66aee..e7af528653a2 100644
--- a/arch/arm/mach-omap2/pm.h
+++ b/arch/arm/mach-omap2/pm.h
@@ -58,9 +58,6 @@ extern void pm_dbg_update_time(struct powerdomain *pwrdm, int prev);
 #endif /* CONFIG_PM_DEBUG */
 
 /* 24xx */
-extern void omap24xx_idle_loop_suspend(void);
-extern unsigned int omap24xx_idle_loop_suspend_sz;
-
 extern void omap24xx_cpu_suspend(u32 dll_ctrl, void __iomem *sdrc_dlla_ctrl,
 					void __iomem *sdrc_power);
 extern unsigned int omap24xx_cpu_suspend_sz;
-- 
2.25.1


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

* [PATCH 1/3] ARM: OMAP2+: Remove orphan declarations from arch/arm/mach-omap2/pm.h
@ 2022-09-20 13:01   ` Gaosheng Cui
  0 siblings, 0 replies; 14+ messages in thread
From: Gaosheng Cui @ 2022-09-20 13:01 UTC (permalink / raw)
  To: paul, tony, linux, khilman, daniel, haojian.zhuang,
	robert.jarzmik, cuigaosheng1
  Cc: linux-omap, linux-arm-kernel

omap24xx_idle_loop_suspend() and omap24xx_idle_loop_suspend_sz have
been removed since commit 088e8806c411 ("ARM: OMAP2xxx: PM: enter
WFI via inline asm if CORE stays active"), so remove them.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 arch/arm/mach-omap2/pm.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h
index 80e84ae66aee..e7af528653a2 100644
--- a/arch/arm/mach-omap2/pm.h
+++ b/arch/arm/mach-omap2/pm.h
@@ -58,9 +58,6 @@ extern void pm_dbg_update_time(struct powerdomain *pwrdm, int prev);
 #endif /* CONFIG_PM_DEBUG */
 
 /* 24xx */
-extern void omap24xx_idle_loop_suspend(void);
-extern unsigned int omap24xx_idle_loop_suspend_sz;
-
 extern void omap24xx_cpu_suspend(u32 dll_ctrl, void __iomem *sdrc_dlla_ctrl,
 					void __iomem *sdrc_power);
 extern unsigned int omap24xx_cpu_suspend_sz;
-- 
2.25.1


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

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

* [PATCH 2/3] ARM: OMAP2+: clock: Remove orphan declarations from arch/arm/mach-omap2/clock.h
  2022-09-20 13:01 ` Gaosheng Cui
@ 2022-09-20 13:01   ` Gaosheng Cui
  -1 siblings, 0 replies; 14+ messages in thread
From: Gaosheng Cui @ 2022-09-20 13:01 UTC (permalink / raw)
  To: paul, tony, linux, khilman, daniel, haojian.zhuang,
	robert.jarzmik, cuigaosheng1
  Cc: linux-omap, linux-arm-kernel

clkops_omap2_dflt and clkops_omap2_dflt_wait have
been removed since commit f9ae32a74f02 ("ARM: OMAP2+: clock:
Cleanup !CONFIG_COMMON_CLK parts"), so remove them.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 arch/arm/mach-omap2/clock.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h
index bbe4b32891bb..46c4e35e568f 100644
--- a/arch/arm/mach-omap2/clock.h
+++ b/arch/arm/mach-omap2/clock.h
@@ -65,9 +65,6 @@ extern struct ti_clk_ll_ops omap_clk_ll_ops;
 
 extern u16 cpu_mask;
 
-extern const struct clkops clkops_omap2_dflt_wait;
-extern const struct clkops clkops_omap2_dflt;
-
 extern struct clk_functions omap2_clk_functions;
 
 int __init omap2_clk_setup_ll_ops(void);
-- 
2.25.1


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

* [PATCH 2/3] ARM: OMAP2+: clock: Remove orphan declarations from arch/arm/mach-omap2/clock.h
@ 2022-09-20 13:01   ` Gaosheng Cui
  0 siblings, 0 replies; 14+ messages in thread
From: Gaosheng Cui @ 2022-09-20 13:01 UTC (permalink / raw)
  To: paul, tony, linux, khilman, daniel, haojian.zhuang,
	robert.jarzmik, cuigaosheng1
  Cc: linux-omap, linux-arm-kernel

clkops_omap2_dflt and clkops_omap2_dflt_wait have
been removed since commit f9ae32a74f02 ("ARM: OMAP2+: clock:
Cleanup !CONFIG_COMMON_CLK parts"), so remove them.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 arch/arm/mach-omap2/clock.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h
index bbe4b32891bb..46c4e35e568f 100644
--- a/arch/arm/mach-omap2/clock.h
+++ b/arch/arm/mach-omap2/clock.h
@@ -65,9 +65,6 @@ extern struct ti_clk_ll_ops omap_clk_ll_ops;
 
 extern u16 cpu_mask;
 
-extern const struct clkops clkops_omap2_dflt_wait;
-extern const struct clkops clkops_omap2_dflt;
-
 extern struct clk_functions omap2_clk_functions;
 
 int __init omap2_clk_setup_ll_ops(void);
-- 
2.25.1


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

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

* [PATCH 3/3] ARM: pxa: remove orphan colibri_pxa3xx_init_mmc from arch/arm/mach-pxa/colibri.h
  2022-09-20 13:01 ` Gaosheng Cui
@ 2022-09-20 13:01   ` Gaosheng Cui
  -1 siblings, 0 replies; 14+ messages in thread
From: Gaosheng Cui @ 2022-09-20 13:01 UTC (permalink / raw)
  To: paul, tony, linux, khilman, daniel, haojian.zhuang,
	robert.jarzmik, cuigaosheng1
  Cc: linux-omap, linux-arm-kernel

All uses of colibri_pxa3xx_init_mmc() have been removed by
commit 9b6956f45132 ("ARM: pxa: Push Colibri evalboard MFP
into module files").

So remove the orphan declaration and the unused inline function.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 arch/arm/mach-pxa/colibri.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/arm/mach-pxa/colibri.h b/arch/arm/mach-pxa/colibri.h
index 01a46f36cc1f..f44046f87983 100644
--- a/arch/arm/mach-pxa/colibri.h
+++ b/arch/arm/mach-pxa/colibri.h
@@ -30,12 +30,6 @@ static inline void colibri_pxa270_income_boardinit(void) {}
  * common settings for all modules
  */
 
-#if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
-extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin);
-#else
-static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin) {}
-#endif
-
 #if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
 extern void colibri_pxa3xx_init_lcd(int bl_pin);
 #else
-- 
2.25.1


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

* [PATCH 3/3] ARM: pxa: remove orphan colibri_pxa3xx_init_mmc from arch/arm/mach-pxa/colibri.h
@ 2022-09-20 13:01   ` Gaosheng Cui
  0 siblings, 0 replies; 14+ messages in thread
From: Gaosheng Cui @ 2022-09-20 13:01 UTC (permalink / raw)
  To: paul, tony, linux, khilman, daniel, haojian.zhuang,
	robert.jarzmik, cuigaosheng1
  Cc: linux-omap, linux-arm-kernel

All uses of colibri_pxa3xx_init_mmc() have been removed by
commit 9b6956f45132 ("ARM: pxa: Push Colibri evalboard MFP
into module files").

So remove the orphan declaration and the unused inline function.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 arch/arm/mach-pxa/colibri.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/arm/mach-pxa/colibri.h b/arch/arm/mach-pxa/colibri.h
index 01a46f36cc1f..f44046f87983 100644
--- a/arch/arm/mach-pxa/colibri.h
+++ b/arch/arm/mach-pxa/colibri.h
@@ -30,12 +30,6 @@ static inline void colibri_pxa270_income_boardinit(void) {}
  * common settings for all modules
  */
 
-#if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
-extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin);
-#else
-static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin) {}
-#endif
-
 #if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
 extern void colibri_pxa3xx_init_lcd(int bl_pin);
 #else
-- 
2.25.1


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

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

* Re: [PATCH 0/3] Remove unused declarations from arm
  2022-09-20 13:01 ` Gaosheng Cui
@ 2022-11-09  8:20   ` Tony Lindgren
  -1 siblings, 0 replies; 14+ messages in thread
From: Tony Lindgren @ 2022-11-09  8:20 UTC (permalink / raw)
  To: Gaosheng Cui
  Cc: paul, linux, khilman, daniel, haojian.zhuang, robert.jarzmik,
	linux-omap, linux-arm-kernel

Hi,

* Gaosheng Cui <cuigaosheng1@huawei.com> [220920 15:53]:
> This series contains a few cleanup patches, to remove unused
> declarations which have been removed. Thanks!

FYI, let's wait a bit longer with these until we have Arnd's pending
clean-up patches in Linux next as they remove some unused functions
too.

Regards,

Tony

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

* Re: [PATCH 0/3] Remove unused declarations from arm
@ 2022-11-09  8:20   ` Tony Lindgren
  0 siblings, 0 replies; 14+ messages in thread
From: Tony Lindgren @ 2022-11-09  8:20 UTC (permalink / raw)
  To: Gaosheng Cui
  Cc: paul, linux, khilman, daniel, haojian.zhuang, robert.jarzmik,
	linux-omap, linux-arm-kernel

Hi,

* Gaosheng Cui <cuigaosheng1@huawei.com> [220920 15:53]:
> This series contains a few cleanup patches, to remove unused
> declarations which have been removed. Thanks!

FYI, let's wait a bit longer with these until we have Arnd's pending
clean-up patches in Linux next as they remove some unused functions
too.

Regards,

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] 14+ messages in thread

* Re: [PATCH 0/3] Remove unused declarations from arm
  2022-11-09  8:20   ` Tony Lindgren
@ 2023-03-27  8:02     ` Tony Lindgren
  -1 siblings, 0 replies; 14+ messages in thread
From: Tony Lindgren @ 2023-03-27  8:02 UTC (permalink / raw)
  To: Gaosheng Cui
  Cc: paul, linux, khilman, daniel, haojian.zhuang, robert.jarzmik,
	linux-omap, linux-arm-kernel

* Tony Lindgren <tony@atomide.com> [221109 08:10]:
> Hi,
> 
> * Gaosheng Cui <cuigaosheng1@huawei.com> [220920 15:53]:
> > This series contains a few cleanup patches, to remove unused
> > declarations which have been removed. Thanks!
> 
> FYI, let's wait a bit longer with these until we have Arnd's pending
> clean-up patches in Linux next as they remove some unused functions
> too.

Looks like the two omap related patch in this series are no longer
needed after Arnd's clean-up has been merged. If I missed something,
please resend updated patches.

Thanks,

Tony

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

* Re: [PATCH 0/3] Remove unused declarations from arm
@ 2023-03-27  8:02     ` Tony Lindgren
  0 siblings, 0 replies; 14+ messages in thread
From: Tony Lindgren @ 2023-03-27  8:02 UTC (permalink / raw)
  To: Gaosheng Cui
  Cc: paul, linux, khilman, daniel, haojian.zhuang, robert.jarzmik,
	linux-omap, linux-arm-kernel

* Tony Lindgren <tony@atomide.com> [221109 08:10]:
> Hi,
> 
> * Gaosheng Cui <cuigaosheng1@huawei.com> [220920 15:53]:
> > This series contains a few cleanup patches, to remove unused
> > declarations which have been removed. Thanks!
> 
> FYI, let's wait a bit longer with these until we have Arnd's pending
> clean-up patches in Linux next as they remove some unused functions
> too.

Looks like the two omap related patch in this series are no longer
needed after Arnd's clean-up has been merged. If I missed something,
please resend updated patches.

Thanks,

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] 14+ messages in thread

* Re: [PATCH 0/3] Remove unused declarations from arm
  2023-03-27  8:02     ` Tony Lindgren
@ 2023-03-28  1:46       ` cuigaosheng
  -1 siblings, 0 replies; 14+ messages in thread
From: cuigaosheng @ 2023-03-28  1:46 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: paul, linux, khilman, daniel, haojian.zhuang, robert.jarzmik,
	linux-omap, linux-arm-kernel

> Looks like the two omap related patch in this series are no longer
> needed after Arnd's clean-up has been merged. If I missed something,
> please resend updated patches.

Thanks for taking time to review these patches, these issue have been
fixed in linux next.

Gaosheng

On 2023/3/27 16:02, Tony Lindgren wrote:
> * Tony Lindgren <tony@atomide.com> [221109 08:10]:
>> Hi,
>>
>> * Gaosheng Cui <cuigaosheng1@huawei.com> [220920 15:53]:
>>> This series contains a few cleanup patches, to remove unused
>>> declarations which have been removed. Thanks!
>> FYI, let's wait a bit longer with these until we have Arnd's pending
>> clean-up patches in Linux next as they remove some unused functions
>> too.
> Looks like the two omap related patch in this series are no longer
> needed after Arnd's clean-up has been merged. If I missed something,
> please resend updated patches.
>
> Thanks,
>
> Tony
>
> .

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

* Re: [PATCH 0/3] Remove unused declarations from arm
@ 2023-03-28  1:46       ` cuigaosheng
  0 siblings, 0 replies; 14+ messages in thread
From: cuigaosheng @ 2023-03-28  1:46 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: paul, linux, khilman, daniel, haojian.zhuang, robert.jarzmik,
	linux-omap, linux-arm-kernel

> Looks like the two omap related patch in this series are no longer
> needed after Arnd's clean-up has been merged. If I missed something,
> please resend updated patches.

Thanks for taking time to review these patches, these issue have been
fixed in linux next.

Gaosheng

On 2023/3/27 16:02, Tony Lindgren wrote:
> * Tony Lindgren <tony@atomide.com> [221109 08:10]:
>> Hi,
>>
>> * Gaosheng Cui <cuigaosheng1@huawei.com> [220920 15:53]:
>>> This series contains a few cleanup patches, to remove unused
>>> declarations which have been removed. Thanks!
>> FYI, let's wait a bit longer with these until we have Arnd's pending
>> clean-up patches in Linux next as they remove some unused functions
>> too.
> Looks like the two omap related patch in this series are no longer
> needed after Arnd's clean-up has been merged. If I missed something,
> please resend updated patches.
>
> Thanks,
>
> 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] 14+ messages in thread

end of thread, other threads:[~2023-03-28  1:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-20 13:01 [PATCH 0/3] Remove unused declarations from arm Gaosheng Cui
2022-09-20 13:01 ` Gaosheng Cui
2022-09-20 13:01 ` [PATCH 1/3] ARM: OMAP2+: Remove orphan declarations from arch/arm/mach-omap2/pm.h Gaosheng Cui
2022-09-20 13:01   ` Gaosheng Cui
2022-09-20 13:01 ` [PATCH 2/3] ARM: OMAP2+: clock: Remove orphan declarations from arch/arm/mach-omap2/clock.h Gaosheng Cui
2022-09-20 13:01   ` Gaosheng Cui
2022-09-20 13:01 ` [PATCH 3/3] ARM: pxa: remove orphan colibri_pxa3xx_init_mmc from arch/arm/mach-pxa/colibri.h Gaosheng Cui
2022-09-20 13:01   ` Gaosheng Cui
2022-11-09  8:20 ` [PATCH 0/3] Remove unused declarations from arm Tony Lindgren
2022-11-09  8:20   ` Tony Lindgren
2023-03-27  8:02   ` Tony Lindgren
2023-03-27  8:02     ` Tony Lindgren
2023-03-28  1:46     ` cuigaosheng
2023-03-28  1:46       ` cuigaosheng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.