Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49abf69f authored by Stephen Boyd's avatar Stephen Boyd
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;