2014-02-16 19:05:28

by Paul Bolle

[permalink] [raw]
Subject: [PATCH] arm: sti: Remove SOC_STIH415 and SOC_STIH416

The Kconfig symbols SOC_STIH415 and SOC_STIH416 were added in v3.11.
They have never been used. They default to "y" but nothing cares. They
can safely be removed.

Signed-off-by: Paul Bolle <[email protected]>
---
Tested with "git grep".

arch/arm/mach-sti/Kconfig | 23 -----------------------
1 file changed, 23 deletions(-)

diff --git a/arch/arm/mach-sti/Kconfig b/arch/arm/mach-sti/Kconfig
index d71654b..c360ae1 100644
--- a/arch/arm/mach-sti/Kconfig
+++ b/arch/arm/mach-sti/Kconfig
@@ -21,26 +21,3 @@ menuconfig ARCH_STI
for discovery
More information at Documentation/arm/STiH41x and
at Documentation/devicetree
-
-
-if ARCH_STI
-
-config SOC_STIH415
- bool "STiH415 STMicroelectronics Consumer Electronics family"
- default y
- help
- This enables support for STMicroelectronics Digital Consumer
- Electronics family StiH415 parts, primarily targeted at set-top-box
- and other digital audio/video applications using Flattned Device
- Trees.
-
-config SOC_STIH416
- bool "STiH416 STMicroelectronics Consumer Electronics family"
- default y
- help
- This enables support for STMicroelectronics Digital Consumer
- Electronics family StiH416 parts, primarily targeted at set-top-box
- and other digital audio/video applications using Flattened Device
- Trees.
-
-endif
--
1.8.5.3


2014-02-17 07:58:14

by Maxime Coquelin

[permalink] [raw]
Subject: Re: [PATCH] arm: sti: Remove SOC_STIH415 and SOC_STIH416

Hi Paul,

On 02/16/2014 08:05 PM, Paul Bolle wrote:
> The Kconfig symbols SOC_STIH415 and SOC_STIH416 were added in v3.11.
> They have never been used. They default to "y" but nothing cares. They
> can safely be removed.

This is going to be used by the reset controller series from Srinivas:
http://marc.info/?l=linux-arm-kernel&m=139143833415806&w=2

Regards,
Maxime

>
> Signed-off-by: Paul Bolle <[email protected]>
> ---
> Tested with "git grep".
>
> arch/arm/mach-sti/Kconfig | 23 -----------------------
> 1 file changed, 23 deletions(-)
>
> diff --git a/arch/arm/mach-sti/Kconfig b/arch/arm/mach-sti/Kconfig
> index d71654b..c360ae1 100644
> --- a/arch/arm/mach-sti/Kconfig
> +++ b/arch/arm/mach-sti/Kconfig
> @@ -21,26 +21,3 @@ menuconfig ARCH_STI
> for discovery
> More information at Documentation/arm/STiH41x and
> at Documentation/devicetree
> -
> -
> -if ARCH_STI
> -
> -config SOC_STIH415
> - bool "STiH415 STMicroelectronics Consumer Electronics family"
> - default y
> - help
> - This enables support for STMicroelectronics Digital Consumer
> - Electronics family StiH415 parts, primarily targeted at set-top-box
> - and other digital audio/video applications using Flattned Device
> - Trees.
> -
> -config SOC_STIH416
> - bool "STiH416 STMicroelectronics Consumer Electronics family"
> - default y
> - help
> - This enables support for STMicroelectronics Digital Consumer
> - Electronics family StiH416 parts, primarily targeted at set-top-box
> - and other digital audio/video applications using Flattened Device
> - Trees.
> -
> -endif
>

2014-02-17 08:37:26

by Paul Bolle

[permalink] [raw]
Subject: Re: [PATCH] arm: sti: Remove SOC_STIH415 and SOC_STIH416

Hi Maxime,

On Mon, 2014-02-17 at 08:57 +0100, Maxime Coquelin wrote:
> On 02/16/2014 08:05 PM, Paul Bolle wrote:
> > The Kconfig symbols SOC_STIH415 and SOC_STIH416 were added in v3.11.
> > They have never been used. They default to "y" but nothing cares. They
> > can safely be removed.
>
> This is going to be used by the reset controller series from Srinivas:
> http://marc.info/?l=linux-arm-kernel&m=139143833415806&w=2

That links to a patch containing this chunk:
@@ -28,6 +29,7 @@ if ARCH_STI
config SOC_STIH415
bool "STiH415 STMicroelectronics Consumer Electronics family"
default y
+ select STIH415_RESET
help
This enables support for STMicroelectronics Digital Consumer
Electronics family StiH415 parts, primarily targeted at set-top-box
@@ -37,6 +39,7 @@ config SOC_STIH415
config SOC_STIH416
bool "STiH416 STMicroelectronics Consumer Electronics family"
default y
+ select STIH416_RESET
help
This enables support for STMicroelectronics Digital Consumer
Electronics family StiH416 parts, primarily targeted at set-top-box

Those select statements do not use SOC_STIH415 or SOC_STIH416.

If SOC_STIH415 or SOC_STIH416 are going to be used in the future they
can be readded in the series that also adds users for them.


Paul Bolle