]> git.ipfire.org Git - people/arne_f/kernel.git/commit
clk: efm32gg: Pass correct type to hw provider registration
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 16 Nov 2016 19:02:00 +0000 (11:02 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 16 Nov 2016 19:08:55 +0000 (11:08 -0800)
commitbdfdabfedc30c9574dde6198a1739d2be03bf934
treeaf2fcad030864b54f42b1101d30b06c403952862
parent3ca0b51decf780ce6277b088a9f28cd6fb71e372
clk: efm32gg: 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: Stephen Boyd <stephen.boyd@linaro.org>
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fixes: 9337631f52a8 ("clk: efm32gg: Migrate to clk_hw based OF and registration APIs")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-efm32gg.c