clk: sunxi-ng: a80-usb: Use local parent references for SUNXI_CCU_GATE
authorChen-Yu Tsai <wens@csie.org>
Fri, 3 May 2019 11:25:12 +0000 (19:25 +0800)
committerChen-Yu Tsai <wens@csie.org>
Sat, 22 Jun 2019 02:13:16 +0000 (10:13 +0800)
commit4b8891518466cd29fc5d451e46d4ab3c4e25bcf7
treea4556e43954356f45f409d0e005fdce8601142d7
parent4b751ffae7a7659d665499ee9ed6fd7a144e575a
clk: sunxi-ng: a80-usb: Use local parent references for SUNXI_CCU_GATE

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

Convert existing SUNXI_CCU_GATE definitions to SUNXI_CCU_GATE_DATA to
specify the parent clock.

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