Messages in this thread | | | Date | Tue, 7 Oct 2014 09:32:18 -0700 | From | Dmitry Torokhov <> | Subject | Re: [PATCH] input: lm8323: Switch to using managed resources |
| |
Hi Pramod, On Tue, Oct 07, 2014 at 03:08:09PM +0530, Pramod Gurav wrote: > This change switches to using devm_* APIs to allocate resources. > This helps to simplify failure path in probe function as well as > remove function. >
I prefer not mixing the automatic and manual resource management in a single driver, so if you can't convert everything to devm_* API I prefer to leave the code as is.
Thanks.
-- Dmitry
| |