Re: [PATCH 14/89] clk: bcm: rpi: Make sure the clkdev lookup is removed

From: Stephen Boyd
Date: Thu Mar 12 2020 - 21:11:57 EST


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@xxxxxxxxxxxx>
> Cc: Stephen Boyd <sboyd@xxxxxxxxxx>
> Cc: linux-clk@xxxxxxxxxxxxxxx
> Signed-off-by: Maxime Ripard <maxime@xxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>