commit | 23e114b6b7a03a98d27cf327f0d173ad2d219c13 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <[email protected]> | Mon Jun 15 10:40:58 2020 +0200 |
committer | Stephen Boyd <[email protected]> | Fri Jun 19 17:21:17 2020 -0700 |
tree | f9d1c10527b74271d6742e654b5f67587d99d9ce | |
parent | 3ea59ace7c0f475bf12f13b63a47a6983959d754 [diff] |
clk: bcm: rpi: Make the PLLB registration function return a clk_hw 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 <[email protected]> Cc: [email protected] Acked-by: Nicolas Saenz Julienne <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Tested-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://lore.kernel.org/r/97218559db643e62fdd2b5e3046a2a05b8c2e769.1592210452.git-series.maxime@cerno.tech Signed-off-by: Stephen Boyd <[email protected]>