]> git.baikalelectronics.ru Git - 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)
commit924ac15797ed6ceab57594f35e46dd0461594a5b
treeaf2fcad030864b54f42b1101d30b06c403952862
parent99edcdcf0b7bceb4d2e4f2a0bb9f72f8b3fa0bf1
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: 37d74c0b89b5 ("clk: efm32gg: Migrate to clk_hw based OF and registration APIs")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-efm32gg.c