clk: sunxi-ng: h6-r: Use local parent references for CLK_FIXED_FACTOR
authorChen-Yu Tsai <wens@csie.org>
Fri, 3 May 2019 10:10:53 +0000 (18:10 +0800)
committerChen-Yu Tsai <wens@csie.org>
Sat, 22 Jun 2019 02:13:16 +0000 (10:13 +0800)
commit22ce173f76f47b087d9978473db22d5d9ce79f71
tree2b25ab2f8682580da3afe2749a802a451a60e171
parent8916d3fc3a476c6df25edf3d5186c9bb22c59e76
clk: sunxi-ng: h6-r: Use local parent references for CLK_FIXED_FACTOR

With the new clk parenting code and CLK_FIXED_FACTOR_{HW,FW_NAME}
macros, we can reference parents locally via pointers to struct clk_hw
or DT clock-names.

Convert existing CLK_FIXED_FACTOR definitions to either the _HW or
_FW_NAME variant based on whether the parent clock is internal or
external to the CCU.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c