mmc: remove unused struct component card_detect_irq
Subsystems (2)
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
PATCH 1/2 mmc: jz4740: remove unused struct component card_detect_irq
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
@@ -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
Re: [PATCH 1/2] mmc: jz4740: remove unused struct component card_detect_irq
Hi,
Quoted 3 lines · H. Nikolaus Schaller
I have not found any user for this struct component.
Signed-off-by H. Nikolaus Schaller <[email protected]>
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@@ -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
Re: [PATCH 1/2] mmc: jz4740: remove unused struct component card_detect_irq
In reply to H. Nikolaus SchallerQuoted 4 lines · H. Nikolaus Schaller
I have not found any user for this struct component.
Signed-off-by H. Nikolaus Schaller <[email protected]>
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@@ -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
PATCH 2/2 mmc: omap: remove unused struct component card_detect_irq
In reply to H. Nikolaus SchallerI 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
@@ -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
Re: [PATCH 2/2] mmc: omap: remove unused struct component card_detect_irq
Quoted 4 lines · H. Nikolaus Schaller
I have not found any user for this struct component.
Signed-off-by H. Nikolaus Schaller <[email protected]>
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@@ -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