[PATCH v5 18/27] clk: bcm: rpi: Make the PLLB registration function return a clk_hw

Stephen Boyd sboyd at kernel.org
Wed Jun 24 20:45:27 EDT 2020


Quoting Maxime Ripard (2020-06-15 01:40:58)
> 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: linux-clk at vger.kernel.org
> Acked-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
> Reviewed-by: Stephen Boyd <sboyd at kernel.org>
> Tested-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
> Signed-off-by: Maxime Ripard <maxime at cerno.tech>
> ---

Applied to clk-next



More information about the linux-arm-kernel mailing list