git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc6e51d
)
ds2781_battery: Replace call to kzalloc with devm_kzalloc
author
Devendra Naga
<develkernel412222@gmail.com>
Mon, 30 Jul 2012 10:44:33 +0000
(16:29 +0545)
committer
Anton Vorontsov
<anton.vorontsov@linaro.org>
Thu, 23 Aug 2012 02:47:14 +0000
(19:47 -0700)
With devm_kzalloc there is no need of freeing at the errorpath and also
at unregister it.
Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
No differences found