Re: [PATCH v5 11/27] clk: bcm: rpi: Make sure the clkdev lookup is removed
From: Stephen Boyd
Date: Wed Jun 24 2020 - 20:44:47 EST
Quoting Maxime Ripard (2020-06-15 01:40:51)
> 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: linux-clk@xxxxxxxxxxxxxxx
> Acked-by: Nicolas Saenz Julienne <nsaenzjulienne@xxxxxxx>
> Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>
> Tested-by: Nicolas Saenz Julienne <nsaenzjulienne@xxxxxxx>
> Signed-off-by: Maxime Ripard <maxime@xxxxxxxxxx>
> ---
Applied to clk-next