irqchip/st: remove stih415/stih416 and stid127 platforms support

Message ID 20230416190501.18737-1-avolmat@me.com
State New
Headers
Series irqchip/st: remove stih415/stih416 and stid127 platforms support |

Commit Message

Alain Volmat April 16, 2023, 7:05 p.m. UTC
  Remove support for the already no more supported stih415 and stih416
platforms.  Remove as well the stid127 platform which never made it
up to the kernel.

Signed-off-by: Alain Volmat <avolmat@me.com>
---
Patch previously sent via serie: https://lore.kernel.org/all/20230209091659.1409-4-avolmat@me.com/

 drivers/irqchip/irq-st.c | 15 ---------------
 1 file changed, 15 deletions(-)
  

Comments

Patrice CHOTARD April 19, 2023, 6:33 a.m. UTC | #1
Hi Alain

On 4/16/23 21:05, Alain Volmat wrote:
> Remove support for the already no more supported stih415 and stih416
> platforms.  Remove as well the stid127 platform which never made it
> up to the kernel.
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---
> Patch previously sent via serie: https://lore.kernel.org/all/20230209091659.1409-4-avolmat@me.com/
> 
>  drivers/irqchip/irq-st.c | 15 ---------------
>  1 file changed, 15 deletions(-)
> 
> diff --git a/drivers/irqchip/irq-st.c b/drivers/irqchip/irq-st.c
> index 1b83512b29c6..819a12297b58 100644
> --- a/drivers/irqchip/irq-st.c
> +++ b/drivers/irqchip/irq-st.c
> @@ -15,10 +15,7 @@
>  #include <linux/regmap.h>
>  #include <linux/slab.h>
>  
> -#define STIH415_SYSCFG_642		0x0a8
> -#define STIH416_SYSCFG_7543		0x87c
>  #define STIH407_SYSCFG_5102		0x198
> -#define STID127_SYSCFG_734		0x088
>  
>  #define ST_A9_IRQ_MASK			0x001FFFFF
>  #define ST_A9_IRQ_MAX_CHANS		2
> @@ -44,22 +41,10 @@ struct st_irq_syscfg {
>  };
>  
>  static const struct of_device_id st_irq_syscfg_match[] = {
> -	{
> -		.compatible = "st,stih415-irq-syscfg",
> -		.data = (void *)STIH415_SYSCFG_642,
> -	},
> -	{
> -		.compatible = "st,stih416-irq-syscfg",
> -		.data = (void *)STIH416_SYSCFG_7543,
> -	},
>  	{
>  		.compatible = "st,stih407-irq-syscfg",
>  		.data = (void *)STIH407_SYSCFG_5102,
>  	},
> -	{
> -		.compatible = "st,stid127-irq-syscfg",
> -		.data = (void *)STID127_SYSCFG_734,
> -	},
>  	{}
>  };
>  
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks
Patrice
  

Patch

diff --git a/drivers/irqchip/irq-st.c b/drivers/irqchip/irq-st.c
index 1b83512b29c6..819a12297b58 100644
--- a/drivers/irqchip/irq-st.c
+++ b/drivers/irqchip/irq-st.c
@@ -15,10 +15,7 @@ 
 #include <linux/regmap.h>
 #include <linux/slab.h>
 
-#define STIH415_SYSCFG_642		0x0a8
-#define STIH416_SYSCFG_7543		0x87c
 #define STIH407_SYSCFG_5102		0x198
-#define STID127_SYSCFG_734		0x088
 
 #define ST_A9_IRQ_MASK			0x001FFFFF
 #define ST_A9_IRQ_MAX_CHANS		2
@@ -44,22 +41,10 @@  struct st_irq_syscfg {
 };
 
 static const struct of_device_id st_irq_syscfg_match[] = {
-	{
-		.compatible = "st,stih415-irq-syscfg",
-		.data = (void *)STIH415_SYSCFG_642,
-	},
-	{
-		.compatible = "st,stih416-irq-syscfg",
-		.data = (void *)STIH416_SYSCFG_7543,
-	},
 	{
 		.compatible = "st,stih407-irq-syscfg",
 		.data = (void *)STIH407_SYSCFG_5102,
 	},
-	{
-		.compatible = "st,stid127-irq-syscfg",
-		.data = (void *)STID127_SYSCFG_734,
-	},
 	{}
 };