[PATCH v5 01/15] clk: renesas: r8a78000: Merge debug prints in r8a78000_clk_get()
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Nov 23 02:57:36 PST 2026
On Fri, Nov 20, 2026 at 08:56:42AM +0100, Geert Uytterhoeven wrote:
> On Fri, 20 Nov 2026 at 06:28, Marek Vasut wrote:
> > On 11/18/26 8:44 PM, Geert Uytterhoeven wrote:
> > > The two debug prints in r8a78000_clk_get() are very similar.
> > > Merge them into a single debug print.
> > >
> > > While at it, unwrap the (wrongly-indented) continuation of the
> > > r8a78000_clk_get() function header, as it fits on a single line.
> >
> > It might be worth mentioning, that this now also uses
> > clk_hw_get_name(hw) instead of map->fw_id .
>
> clk_hw_get_name(hw) was printed before; fw_id will still be printed
> in get_hws() after PATCH 04/15.
That's worth mentioning in the commit message. With that, the patch
looks good to me.
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
> > [...]
> >
> > > - dev_dbg(dev, "Mapping DT clock %u to fixed clock %u\n", id, map->fw_id);
> > > -
> > > hw = priv->fixed_hws[map->fw_id];
> > >
> > > - dev_dbg(dev, "clock %u is %s at %lu Hz\n", id, clk_hw_get_name(hw),
> > > - clk_hw_get_rate(hw));
> > > + dev_dbg(dev, "Mapping DT clock %u to %s at %lu Hz\n", id,
> > > + clk_hw_get_name(hw), clk_hw_get_rate(hw));
> > [...]
--
Regards,
Laurent Pinchart
More information about the linux-arm-kernel
mailing list