Re: [PATCH v1] clk: Add devm_clk_{prepare,enable,prepare_enable}

Marc Gonzalez
2019-08-20T08:46:46Z

On 15/07/2019 17:34, Marc Gonzalez wrote:

> Provide devm variants for automatic resource release on device removal.
> probe() error-handling is simpler, and remove is no longer required.
>
> Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
> ---
> Documentation/driver-model/devres.rst | 3 +++
> drivers/clk/clk.c | 24 ++++++++++++++++++++++++
> include/linux/clk.h | 8 ++++++++
> 3 files changed, 35 insertions(+)

Stephen, Mike,

Thoughts? Comments?

Regards.