]> git.karo-electronics.de Git - mv-sheeva.git/commit
max17042_battery: Use devm_kzalloc() where applicable
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 22 Feb 2012 18:06:20 +0000 (19:06 +0100)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 26 Mar 2012 16:40:50 +0000 (20:40 +0400)
commit2f3b43423c70a340b715396f15096c496da959bb
tree2f854dea3fd0bd0b465eb7e31eb09987332336af
parent13e0aa469e11f31a83f32f614c1331630851af28
max17042_battery: Use devm_kzalloc() where applicable

This allows us to simplify probe and exit function.

Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/max17042_battery.c