diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2016-11-16 20:02:00 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-11-16 20:04:17 +0100 |
commit | 3ca0b51decf780ce6277b088a9f28cd6fb71e372 (patch) | |
tree | 3649f02495c45329772a25752d43608bcafe7f7d /drivers/clk/clk-efm32gg.c | |
parent | clk: mmp: pxa910: fix return value check in pxa910_clk_init() (diff) | |
download | linux-3ca0b51decf780ce6277b088a9f28cd6fb71e372.tar.xz linux-3ca0b51decf780ce6277b088a9f28cd6fb71e372.zip |
clk: berlin: Pass correct type to hw provider registration
Dan Carpenter reports that we're passing a pointer to a pointer
here when we should just be passing a pointer. Pass the right
pointer so that the of_clk_hw_onecell_get() sees the appropriate
data pointer on its end.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Jisheng Zhang <jszhang@marvell.com>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Fixes: f6475e298297 ("clk: berlin: Migrate to clk_hw based registration and OF APIs")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-efm32gg.c')
0 files changed, 0 insertions, 0 deletions