diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2016-08-24 10:30:46 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-08-24 10:30:46 -0700 |
commit | 49abf69fb9372805b962707ceb3dfb913e9f54e5 (patch) | |
tree | 12dccbfd29dedb6162bbbc458a7aeb25717e0a96 /drivers/clk/meson | |
parent | 0f7dd7acda0add9cbd39caa6902c9e79ecb0a89d (diff) | |
parent | 718cc4b60ff279c0d6169d109e22cb107b23e312 (diff) |
Merge branch 'clk-meson-gxbb-ao' into clk-next
* clk-meson-gxbb-ao:
clk: meson: Fix invalid use of sizeof in gxbb_aoclkc_probe()
Diffstat (limited to 'drivers/clk/meson')
-rw-r--r-- | drivers/clk/meson/gxbb-aoclk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/meson/gxbb-aoclk.c b/drivers/clk/meson/gxbb-aoclk.c index 61ef28a48631..b45c5fba7e35 100644 --- a/drivers/clk/meson/gxbb-aoclk.c +++ b/drivers/clk/meson/gxbb-aoclk.c @@ -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; |