]> git.baikalelectronics.ru Git - kernel.git/commit
lp8727_charger: Use devm_kzalloc()
authorKim, Milo <Milo.Kim@ti.com>
Fri, 31 Aug 2012 09:22:46 +0000 (09:22 +0000)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Fri, 21 Sep 2012 00:51:57 +0000 (17:51 -0700)
commitd4ae447f6e23c00931872e1c799beba9423fcb9c
tree2ea3c3f542081c3e373413b22f2eb8a592a820a3
parent4904c72ba996ca6232d79956e4c3e1bfd5f92321
lp8727_charger: Use devm_kzalloc()

Use devm_kzalloc() rather than kzalloc()/kfree() to make
allocating/freeing the private data simpler.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/lp8727_charger.c