[PATCH v3 5/5] pinctrl: sunxi: Use of_clk_get_parent_count() instead of open coding

Linus Walleij linus.walleij at linaro.org
Thu Apr 26 04:57:58 PDT 2018


On Wed, Apr 18, 2018 at 4:50 PM, Geert Uytterhoeven
<geert+renesas at glider.be> wrote:

> A new open coder has crept in since 470b73a38470e8ba ("pinctrl: sunxi:
> Use of_clk_get_parent_count() instead of open coding"), replace it.
>
> of_clk_get_parent_count() was moved to <linux/of_clk.h>, so include that
> instead of <linux/clk-provider.h>.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> Acked-by: Maxime Ripard <maxime.ripard at bootlin.com>
> ---
> This depends on "[PATCH v3 1/5] clk: Extract OF clock helpers in
> <linux/of_clk.h>".
>
> v3:
>   - Add Acked-by,

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Please merge this through the clk tree.

Yours,
Linus Walleij



More information about the Linux-rockchip mailing list