Re: [PATCH] mfd: ab8500-core: Fix invalid free of devm_ allocated data

2012-11-30 Thread Samuel Ortiz
Hi Tushar, On Fri, Nov 23, 2012 at 05:48:43PM +0530, Tushar Behera wrote: > The objects allocated by devm_* APIs are managed by devres and are > freed when the device is detached. Hence there is no need to remove > them explicitly in remove function. > > Signed-off-by: Tushar Behera > --- >

Re: [PATCH] mfd: ab8500-core: Fix invalid free of devm_ allocated data

2012-11-30 Thread Samuel Ortiz
Hi Tushar, On Fri, Nov 23, 2012 at 05:48:43PM +0530, Tushar Behera wrote: The objects allocated by devm_* APIs are managed by devres and are freed when the device is detached. Hence there is no need to remove them explicitly in remove function. Signed-off-by: Tushar Behera

Re: [PATCH] mfd: ab8500-core: Fix invalid free of devm_ allocated data

2012-11-28 Thread Linus Walleij
On Fri, Nov 23, 2012 at 1:18 PM, Tushar Behera wrote: > The objects allocated by devm_* APIs are managed by devres and are > freed when the device is detached. Hence there is no need to remove > them explicitly in remove function. > > Signed-off-by: Tushar Behera Looks good to me. Acked-by:

Re: [PATCH] mfd: ab8500-core: Fix invalid free of devm_ allocated data

2012-11-28 Thread Linus Walleij
On Fri, Nov 23, 2012 at 1:18 PM, Tushar Behera tushar.beh...@linaro.org wrote: The objects allocated by devm_* APIs are managed by devres and are freed when the device is detached. Hence there is no need to remove them explicitly in remove function. Signed-off-by: Tushar Behera

[PATCH] mfd: ab8500-core: Fix invalid free of devm_ allocated data

2012-11-23 Thread Tushar Behera
The objects allocated by devm_* APIs are managed by devres and are freed when the device is detached. Hence there is no need to remove them explicitly in remove function. Signed-off-by: Tushar Behera --- drivers/mfd/ab8500-core.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-)

[PATCH] mfd: ab8500-core: Fix invalid free of devm_ allocated data

2012-11-23 Thread Tushar Behera
The objects allocated by devm_* APIs are managed by devres and are freed when the device is detached. Hence there is no need to remove them explicitly in remove function. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/mfd/ab8500-core.c |5 - 1 files changed, 0