phy: rockchip: inno-hdmi: 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: I4fd81155cfbd6c257d3a52eda25714e07a4e6abb
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang 2020-06-09 14:22:18 +08:00
parent 19bdaeace0
commit cc5ecc2773

View File

@ -631,7 +631,7 @@ static int inno_hdmi_phy_clk_register(struct inno_hdmi_phy *inno)
{
struct device *dev = inno->dev;
struct device_node *np = dev->of_node;
struct clk_init_data init;
struct clk_init_data init = {};
struct clk *refclk;
const char *parent_name;
int ret;