Re: [PATCH 21/21] power: fix invalid free of devm_ allocated data

2013-03-31 Thread Anton Vorontsov
On Thu, Mar 28, 2013 at 02:51:59AM +0200, Andrei Epure 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 use kfree() explicitly. > Patch found using coccinelle. > > Signed-off-by: Andrei Epure > --- Jingoo H

[PATCH 21/21] power: fix invalid free of devm_ allocated data

2013-03-27 Thread Andrei Epure
The objects allocated by devm_* APIs are managed by devres and are freed when the device is detached. Hence there is no need to use kfree() explicitly. Patch found using coccinelle. Signed-off-by: Andrei Epure --- drivers/power/88pm860x_charger.c |2 -- 1 file changed, 2 deletions(-) diff -