提交 49abf69f 编写于 作者: S Stephen Boyd

Merge branch 'clk-meson-gxbb-ao' into clk-next

* clk-meson-gxbb-ao:
  clk: meson: Fix invalid use of sizeof in gxbb_aoclkc_probe()
...@@ -142,7 +142,7 @@ static int gxbb_aoclkc_probe(struct platform_device *pdev) ...@@ -142,7 +142,7 @@ static int gxbb_aoclkc_probe(struct platform_device *pdev)
struct device *dev = &pdev->dev; struct device *dev = &pdev->dev;
struct gxbb_aoclk_reset_controller *rstc; struct gxbb_aoclk_reset_controller *rstc;
rstc = devm_kzalloc(dev, sizeof(rstc), GFP_KERNEL); rstc = devm_kzalloc(dev, sizeof(*rstc), GFP_KERNEL);
if (!rstc) if (!rstc)
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册