[PATCH 20/89] clk: bcm: rpi: Make the PLLB registration function return a clk_hw
Stephen Boyd
sboyd at kernel.org
Fri Mar 13 01:01:49 UTC 2020
Quoting Maxime Ripard (2020-02-24 01:06:22)
> The raspberrypi_register_pllb has been returning an integer so far to
> notify whether the functions has exited successfully or not.
>
> However, the OF provider functions in the clock framework require access to
> the clk_hw structure so that we can expose those clocks to device tree
> consumers.
>
> Since we'll want that for the future clocks, let's return a clk_hw pointer
> instead of the return code.
>
> Cc: Michael Turquette <mturquette at baylibre.com>
> Cc: Stephen Boyd <sboyd at kernel.org>
> Cc: linux-clk at vger.kernel.org
> Signed-off-by: Maxime Ripard <maxime at cerno.tech>
> ---
Reviewed-by: Stephen Boyd <sboyd at kernel.org>
More information about the dri-devel
mailing list