diff mbox series

[1/2] mfd: tmio: Remove obsolete .set_clk_div() callback

Message ID e0fa98f138a7b2836128178f8b3a757978517307.1718897545.git.geert+renesas@glider.be
State New
Headers show
Series mmc: tmio: Remove obsolete callbacks | expand

Commit Message

Geert Uytterhoeven June 20, 2024, 3:39 p.m. UTC
Commit bef64d2908e825c5 ("mmc: remove tmio_mmc driver") removed the last
user of the .set_clk_div() callback in the tmio_mmc_data structure.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 include/linux/mfd/tmio.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Wolfram Sang June 20, 2024, 8:05 p.m. UTC | #1
On Thu, Jun 20, 2024 at 05:39:45PM GMT, Geert Uytterhoeven wrote:
> Commit bef64d2908e825c5 ("mmc: remove tmio_mmc driver") removed the last
> user of the .set_clk_div() callback in the tmio_mmc_data structure.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Wolfram Sang June 21, 2024, 8:56 a.m. UTC | #2
On Thu, Jun 20, 2024 at 10:05:44PM GMT, Wolfram Sang wrote:
> On Thu, Jun 20, 2024 at 05:39:45PM GMT, Geert Uytterhoeven wrote:
> > Commit bef64d2908e825c5 ("mmc: remove tmio_mmc driver") removed the last
> > user of the .set_clk_div() callback in the tmio_mmc_data structure.
> > 
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Also:

Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Geert Uytterhoeven June 24, 2024, 9:05 a.m. UTC | #3
Hi Lee,

On Thu, Jun 20, 2024 at 7:08 PM Lee Jones <lee@kernel.org> wrote:
> On Thu, 20 Jun 2024, Geert Uytterhoeven wrote:
> > Commit bef64d2908e825c5 ("mmc: remove tmio_mmc driver") removed the last
> > user of the .set_clk_div() callback in the tmio_mmc_data structure.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> >  include/linux/mfd/tmio.h | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
> > index eace8ea6cda05a3d..aca74ac1ff69e6f7 100644
> > --- a/include/linux/mfd/tmio.h
> > +++ b/include/linux/mfd/tmio.h
> > @@ -101,7 +101,6 @@ struct tmio_mmc_data {
> >       unsigned int                    max_blk_count;
> >       unsigned short                  max_segs;
> >       void (*set_pwr)(struct platform_device *host, int state);
> > -     void (*set_clk_div)(struct platform_device *host, int state);
>
> Any ramifications for just hoovering this up?

I am sorry, I am not familiar with that expression.
Can you please elaborate?
Thanks!

Gr{oetje,eeting}s,

                        Geert
Lee Jones June 24, 2024, 12:55 p.m. UTC | #4
On Mon, 24 Jun 2024, Geert Uytterhoeven wrote:

> Hi Lee,
> 
> On Mon, Jun 24, 2024 at 12:46 PM Lee Jones <lee@kernel.org> wrote:
> > On Mon, 24 Jun 2024, Geert Uytterhoeven wrote:
> > > On Thu, Jun 20, 2024 at 7:08 PM Lee Jones <lee@kernel.org> wrote:
> > > > On Thu, 20 Jun 2024, Geert Uytterhoeven wrote:
> > > > > Commit bef64d2908e825c5 ("mmc: remove tmio_mmc driver") removed the last
> > > > > user of the .set_clk_div() callback in the tmio_mmc_data structure.
> > > > >
> > > > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > > > > ---
> > > > >  include/linux/mfd/tmio.h | 1 -
> > > > >  1 file changed, 1 deletion(-)
> > > > >
> > > > > diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
> > > > > index eace8ea6cda05a3d..aca74ac1ff69e6f7 100644
> > > > > --- a/include/linux/mfd/tmio.h
> > > > > +++ b/include/linux/mfd/tmio.h
> > > > > @@ -101,7 +101,6 @@ struct tmio_mmc_data {
> > > > >       unsigned int                    max_blk_count;
> > > > >       unsigned short                  max_segs;
> > > > >       void (*set_pwr)(struct platform_device *host, int state);
> > > > > -     void (*set_clk_div)(struct platform_device *host, int state);
> > > >
> > > > Any ramifications for just hoovering this up?
> > >
> > > I am sorry, I am not familiar with that expression.
> > > Can you please elaborate?
> > > Thanks!
> >
> > If I take _only_ this patch and leave the MMC one, will something break?
> 
> No, nothing will break.
> 
> It will just (a) make it a tad more difficult to apply the second patch
> to the MMC tree, as it has a contextual dependency on the first patch,
> and (b) cause a merge conflict for linux-next and Linus later...
> Perhaps it would be easier to just provide an Acked-by, like you have
> already done for the second patch?

Considering this is only a one-liner, this should be okay.

Acked-by: Lee Jones <lee@kernel.org>
diff mbox series

Patch

diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index eace8ea6cda05a3d..aca74ac1ff69e6f7 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -101,7 +101,6 @@  struct tmio_mmc_data {
 	unsigned int			max_blk_count;
 	unsigned short			max_segs;
 	void (*set_pwr)(struct platform_device *host, int state);
-	void (*set_clk_div)(struct platform_device *host, int state);
 };
 
 /*