Re: [PATCH] pinctrl: core: use devres_release() instead of devres_destroy()

2013-03-01 Thread Linus Walleij
On Tue, Feb 26, 2013 at 3:34 AM, Jingoo Han wrote: > devres_release() can simplify the code, because devres_release() > will call the destructor for the resource as well as freeing > the devres data. > > Signed-off-by: Jingoo Han Patch applied with Stephen's ACK! Thanks, Linus Walleij -- To un

Re: [PATCH] pinctrl: core: use devres_release() instead of devres_destroy()

2013-02-28 Thread Stephen Warren
On 02/28/2013 05:54 PM, Linus Walleij wrote: > On Tue, Feb 26, 2013 at 3:34 AM, Jingoo Han wrote: > >> devres_release() can simplify the code, because devres_release() >> will call the destructor for the resource as well as freeing >> the devres data. >> >> Signed-off-by: Jingoo Han > > Hm, Ste

Re: [PATCH] pinctrl: core: use devres_release() instead of devres_destroy()

2013-02-28 Thread Linus Walleij
On Tue, Feb 26, 2013 at 3:34 AM, Jingoo Han wrote: > devres_release() can simplify the code, because devres_release() > will call the destructor for the resource as well as freeing > the devres data. > > Signed-off-by: Jingoo Han Hm, Stephen, you OK with this? Yours, Linus Walleij -- To unsubs

[PATCH] pinctrl: core: use devres_release() instead of devres_destroy()

2013-02-25 Thread Jingoo Han
devres_release() can simplify the code, because devres_release() will call the destructor for the resource as well as freeing the devres data. Signed-off-by: Jingoo Han --- drivers/pinctrl/core.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/core.c b/