phy: rockchip: inno-mipi-dphy: Initialize in stack clk_init_data to 0

This allows adding fields to clk_init_data without having to explicitly
set those fields in all the drivers.

Fixes: 2071154513 ("ANDROID: GKI: clk: Initialize in stack clk_init_data to 0 in all drivers")
Change-Id: Ibe59e24929f89e6124ee0c74195515421625f386
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang
2020-06-09 14:24:19 +08:00
parent cc5ecc2773
commit 5734d79999

View File

@@ -672,7 +672,7 @@ static int inno_mipi_dphy_pll_register(struct inno_mipi_dphy *inno)
struct device_node *np = dev->of_node;
struct clk *clk;
const char *parent_name;
struct clk_init_data init;
struct clk_init_data init = {};
int ret;
parent_name = __clk_get_name(inno->ref_clk);