[PATCH 1/6] clk: Remove unused clk.dev
Brian Masney
masneyb at kernel.org
Fri Nov 20 08:56:53 PST 2026
On Fri, Nov 20, 2026 at 08:44:29AM +0100, Geert Uytterhoeven wrote:
> On Fri, 20 Nov 2026 at 02:40, Brian Masney <masneyb at kernel.org> wrote:
> > > This basically reverts commit efa850487a6b6742 ("clk: Inform the core
> > > about consumer devices").
> > >
> > > This commit added a struct device pointer member to struct clk and a
> > > parameter to clk_hw_create_clk(), but the new member was never used
> > > beyond setting.
> > >
> > > Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
>
> > > --- a/drivers/clk/clk.h
> > > +++ b/drivers/clk/clk.h
> > > @@ -5,8 +5,6 @@
> > > */
> > >
> > > struct clk_hw;
> > > -struct device;
> > > -struct of_phandle_args;
> >
> > Did you mean to remove of_phandle_args?
>
> Yes, it was added by efa850487a6b6742, too (although it was
> used in that header file before). Currently it's not used.
OK, I see that.
Reviewed-by: Brian Masney <masneyb at kernel.org>
More information about the Linux-rockchip
mailing list