Quoting Maxime Ripard (2020-02-24 01:06:16)
The clkdev lookup created for the cpufreq device is never removed if there's an issue later in probe or at module removal time.
Let's convert to the managed variant of the clk_hw_register_clkdev function to make sure it happens.
Cc: Michael Turquette mturquette@baylibre.com Cc: Stephen Boyd sboyd@kernel.org Cc: linux-clk@vger.kernel.org Signed-off-by: Maxime Ripard maxime@cerno.tech
Reviewed-by: Stephen Boyd sboyd@kernel.org