Commit 49abf69f authored by Stephen Boyd's avatar 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()
parents 0f7dd7ac 718cc4b6
......@@ -142,7 +142,7 @@ static int gxbb_aoclkc_probe(struct platform_device *pdev)
struct device *dev = &pdev->dev;
struct gxbb_aoclk_reset_controller *rstc;
rstc = devm_kzalloc(dev, sizeof(rstc), GFP_KERNEL);
rstc = devm_kzalloc(dev, sizeof(*rstc), GFP_KERNEL);
if (!rstc)
return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment