[PATCH v5 01/15] clk: renesas: r8a78000: Merge debug prints in r8a78000_clk_get()
Geert Uytterhoeven
geert at linux-m68k.org
Thu Nov 19 23:56:42 PST 2026
Hi Marek,
On Fri, 20 Nov 2026 at 06:28, Marek Vasut <marek.vasut at mailbox.org> 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.
>
> [...]
>
> > - 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));
> [...]
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the linux-arm-kernel
mailing list