Skip to contentSkip to conversation

mmc: remove unused struct component card_detect_irq

PATCH In review H. Nikolaus Schaller 3 participants 6 messages Dec 23, 2020 – Jan 13, 2021

Subsystems (2)
lore
Share & tools
lore
#1 lore raw

PATCH 1/2 mmc: jz4740: remove unused struct component card_detect_irq

In reply to H. Nikolaus Schaller

I have not found any user for this struct component.

---
 drivers/mmc/host/jz4740_mmc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/jz4740_mmc.c +0 -1
index a1f92fed2a55b7..b3c636edbb4610 100644
@@ -152,7 +152,6 @@ struct jz4740_mmc_host {
 	enum jz4740_mmc_version version;
 
 	int irq;
-	int card_detect_irq;
 
 	void __iomem *base;
 	struct resource *mem_res;
Signature · 1 line
2.26.2
#4 lore raw

PATCH 2/2 mmc: omap: remove unused struct component card_detect_irq

In reply to H. Nikolaus Schaller

I have not found any user for this struct component.

---
 include/linux/platform_data/mmc-omap.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/platform_data/mmc-omap.h +1 -2
index f0b8947e6b07d8..91051e9907f34e 100644
@@ -108,8 +108,7 @@ struct omap_mmc_platform_data {
 		const char *name;
 		u32 ocr_mask;
 
-		/* Card detection IRQs */
-		int card_detect_irq;
+		/* Card detection */
 		int (*card_detect)(struct device *dev, int slot);
 
 		unsigned int ban_openended:1;
Signature · 1 line
2.26.2
#0 lore raw

cover mmc: remove unused struct component card_detect_irq

card_detect_irq is not used anymore since v4.1.
Remove it.

H. Nikolaus Schaller (2):
mmc: jz4740: remove unused struct component card_detect_irq
mmc: omap: remove unused struct component card_detect_irq

 drivers/mmc/host/jz4740_mmc.c          | 1 -
 include/linux/platform_data/mmc-omap.h | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)
Signature · 1 line
2.26.2
maintainer Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] mmc: jz4740: remove unused struct component card_detect_irq

In reply to H. Nikolaus Schaller

Hi,

Quoted 3 lines · H. Nikolaus Schaller

I have not found any user for this struct component.

Cheers,
-Paul

Quoted 19 lines
---
 drivers/mmc/host/jz4740_mmc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/jz4740_mmc.c +0 -2
index a1f92fed2a55b7..b3c636edbb4610 100644
@@ -152,7 +152,6 @@ struct jz4740_mmc_host {
 	enum jz4740_mmc_version version;
 
 	int irq;
-	int card_detect_irq;
 
 	void __iomem *base;
 	struct resource *mem_res;
--

2.26.2

#3 lore raw

Re: [PATCH 1/2] mmc: jz4740: remove unused struct component card_detect_irq

In reply to H. Nikolaus Schaller
Quoted 4 lines · H. Nikolaus Schaller

I have not found any user for this struct component.

Applied for next, thanks!

Kind regards
Uffe

Quoted 19 lines
---
 drivers/mmc/host/jz4740_mmc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/jz4740_mmc.c +0 -2
index a1f92fed2a55b7..b3c636edbb4610 100644
@@ -152,7 +152,6 @@ struct jz4740_mmc_host {
        enum jz4740_mmc_version version;
 
        int irq;
-       int card_detect_irq;
 
        void __iomem *base;
        struct resource *mem_res;
--

2.26.2

#5 lore raw

Re: [PATCH 2/2] mmc: omap: remove unused struct component card_detect_irq

In reply to H. Nikolaus Schaller
Quoted 4 lines · H. Nikolaus Schaller

I have not found any user for this struct component.

Applied for next, thanks!

Kind regards
Uffe

Quoted 21 lines
---
 include/linux/platform_data/mmc-omap.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/platform_data/mmc-omap.h +1 -3
index f0b8947e6b07d8..91051e9907f34e 100644
@@ -108,8 +108,7 @@ struct omap_mmc_platform_data {
                const char *name;
                u32 ocr_mask;
 
-               /* Card detection IRQs */
-               int card_detect_irq;
+               /* Card detection */
                int (*card_detect)(struct device *dev, int slot);
 
                unsigned int ban_openended:1;
--

2.26.2