Re: [PATCH v1] clk: Convert managed get functions to devm_add_action API

From: Dmitry Torokhov
Date: Wed Dec 11 2019 - 17:28:35 EST

On Wed, Dec 11, 2019 at 05:17:28PM +0100, Marc Gonzalez wrote:
> But I need to ask: what is the rationale for the devm_add_action API?

For one-off and maybe complex unwind actions in drivers that wish to use
devm API (as mixing devm and manual release is verboten). Also is often
used when some core subsystem does not provide enough devm APIs.