diff mbox series

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

Message ID b6f2168b863e4273c6bca5a22fbd4a3a8ddf68d6.1608714110.git.hns@goldelico.com (mailing list archive)
State New, archived
Headers show
Series mmc: remove unused struct component card_detect_irq | expand

Commit Message

H. Nikolaus Schaller Dec. 23, 2020, 9:01 a.m. UTC
I have not found any user for this struct component.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 include/linux/platform_data/mmc-omap.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Ulf Hansson Jan. 13, 2021, 11:25 a.m. UTC | #1
On Wed, 23 Dec 2020 at 10:05, H. Nikolaus Schaller <hns@goldelico.com> wrote:
>
> I have not found any user for this struct component.
>
> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  include/linux/platform_data/mmc-omap.h | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/include/linux/platform_data/mmc-omap.h b/include/linux/platform_data/mmc-omap.h
> index f0b8947e6b07d8..91051e9907f34e 100644
> --- a/include/linux/platform_data/mmc-omap.h
> +++ b/include/linux/platform_data/mmc-omap.h
> @@ -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
>
diff mbox series

Patch

diff --git a/include/linux/platform_data/mmc-omap.h b/include/linux/platform_data/mmc-omap.h
index f0b8947e6b07d8..91051e9907f34e 100644
--- a/include/linux/platform_data/mmc-omap.h
+++ b/include/linux/platform_data/mmc-omap.h
@@ -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;