clk: fixed-factor: Add CLK_FIXED_FACTOR_HW which takes clk_hw pointer as parent
authorChen-Yu Tsai <wens@csie.org>
Sun, 21 Apr 2019 23:19:46 +0000 (07:19 +0800)
committerChen-Yu Tsai <wens@csie.org>
Tue, 18 Jun 2019 11:39:00 +0000 (19:39 +0800)
commitd7b15114aba956ca395ec5cc28f68fe861ffc208
treed39b673b7cf772484848b172f41045fc7f436c9e
parent13933109dff0a5abbfc3980304c6c21c90829810
clk: fixed-factor: Add CLK_FIXED_FACTOR_HW which takes clk_hw pointer as parent

With the new clk parenting code, clk_init_data was expanded to include
.parent_hws, for clk drivers to directly reference parents by clk_hw.

Add a new macro, CLK_FIXED_FACTOR_HW, that can take a struct clk_hw
pointer, instead of a string, as its parent.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
include/linux/clk-provider.h