Re: [PATCH v2 1/3] clk: add devm_clk_prepare_enable() helper

From: Dmitry Torokhov
Date: Fri Mar 04 2022 - 21:42:07 EST


On Mon, Mar 8, 2021 at 9:32 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
>
> On 3/4/21 2:12 PM, Rasmus Villemoes wrote:
> > Add a managed wrapper for clk_prepare_enable().
> >
> > Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
>
> That has been tried several times, including by yours truly,
> and has always been rejected.
>
> Just use devm_add_action_or_reset() like many other watchdog
> drivers.

Can we apply the devm version for crying out loud? I do not see what
benefit there is to force everyone open-code it with
devm_add_action_or_reset(). By simply blocking it we are not making
the kernel better and it's been stalled for a very long time.

Thanks.

--
Dmitry