mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mmc: dw_mmc: remove unused slot member
@ 2026-09-14  1:08 Shawn Lin
  2026-09-14 10:09 ` Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: Shawn Lin @ 2026-09-14  1:08 UTC (permalink / raw)
  To: Ulf Hansson; +Cc: Jaehoon Chung, linux-mmc, linux-kernel, Shawn Lin

struct dw_mci_slot does not exist anymore and nothing ever references
host->slot; the member is a leftover from the multi-slot design this
driver was upstreamed with, where the slot struct lived in the same
header.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 drivers/mmc/host/dw_mmc.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h
index 12b88e7..f4695a1 100644
--- a/drivers/mmc/host/dw_mmc.h
+++ b/drivers/mmc/host/dw_mmc.h
@@ -216,7 +216,6 @@ struct dw_mci {
 	void			*priv;
 	struct clk		*biu_clk;
 	struct clk		*ciu_clk;
-	struct dw_mci_slot	*slot;
 
 	/* FIFO push and pull */
 	int			fifo_depth;
-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mmc: dw_mmc: remove unused slot member
  2026-09-14  1:08 [PATCH] mmc: dw_mmc: remove unused slot member Shawn Lin
@ 2026-09-14 10:09 ` Ulf Hansson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2026-09-14 10:09 UTC (permalink / raw)
  To: Shawn Lin; +Cc: Ulf Hansson, Jaehoon Chung, linux-mmc, linux-kernel

On Mon, Sep 14, 2026 at 3:08 AM Shawn Lin <shawn.lin@rock-chips.com> wrote:
>
> struct dw_mci_slot does not exist anymore and nothing ever references
> host->slot; the member is a leftover from the multi-slot design this
> driver was upstreamed with, where the slot struct lived in the same
> header.
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>
>  drivers/mmc/host/dw_mmc.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h
> index 12b88e7..f4695a1 100644
> --- a/drivers/mmc/host/dw_mmc.h
> +++ b/drivers/mmc/host/dw_mmc.h
> @@ -216,7 +216,6 @@ struct dw_mci {
>         void                    *priv;
>         struct clk              *biu_clk;
>         struct clk              *ciu_clk;
> -       struct dw_mci_slot      *slot;
>
>         /* FIFO push and pull */
>         int                     fifo_depth;
> --
> 2.7.4
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-14 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-14  1:08 [PATCH] mmc: dw_mmc: remove unused slot member Shawn Lin
2026-09-14 10:09 ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®