commit | 2f3b43423c70a340b715396f15096c496da959bb | [log] [tgz] |
---|---|---|
author | Karol Lewandowski <k.lewandowsk@samsung.com> | Wed Feb 22 19:06:20 2012 +0100 |
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | Mon Mar 26 20:40:50 2012 +0400 |
tree | 2f854dea3fd0bd0b465eb7e31eb09987332336af | |
parent | 13e0aa469e11f31a83f32f614c1331630851af28 [diff] |
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>