phy: rockchip: inno-usb2: 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: I382ee237c596e79e29bf6c4b13a4dc6c0c94344f
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang
2020-06-09 14:25:09 +08:00
parent 5734d79999
commit a582be6e66

View File

@@ -392,7 +392,7 @@ static int
rockchip_usb2phy_clk480m_register(struct rockchip_usb2phy *rphy)
{
struct device_node *node = rphy->dev->of_node;
struct clk_init_data init;
struct clk_init_data init = {};
const char *clk_name;
int ret;