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

Skip to content
Commit bdfa6394 authored by Yixun Lan's avatar Yixun Lan Committed by Jerome Brunet
Browse files

clk: meson: migrate to devm_of_clk_add_hw_provider API



There is a protential memory leak, as of_clk_del_provider is
never called if of_clk_add_hw_provider has been executed.
Fix this by using devm variant API.

Fixes: f8c11f79 ("clk: meson: Add GXBB AO Clock and Reset controller driver")
Suggested-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarYixun Lan <yixun.lan@amlogic.com>
Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
parent a565242e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment