[PATCH v5 01/15] clk: renesas: r8a78000: Merge debug prints in r8a78000_clk_get()
Marek Vasut
marek.vasut at mailbox.org
Thu Nov 19 18:57:12 PST 2026
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 .
[...]
> - 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));
[...]
More information about the linux-arm-kernel
mailing list