Messages in this thread | | | Date | Wed, 11 Dec 2019 14:28:29 -0800 | From | Dmitry Torokhov <> | Subject | Re: [PATCH v1] clk: Convert managed get functions to devm_add_action API |
| |
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.
Thanks.
-- Dmitry
| |