commit | 3f8060a5fe1825dce3bf9870f4bef964fe6374c9 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Mon Mar 11 15:30:40 2013 +0900 |
committer | Anton Vorontsov <anton@enomsg.org> | Sun Mar 31 23:25:17 2013 -0700 |
tree | bcff183cb3d296226659e074ea3c5088a7fd9510 | |
parent | f11d018fd6f24e611e06d6aedd91c59831b3bf05 [diff] |
88pm860x_charger: Drop kfree of devm_kzalloc'd data The devm_kzalloc function allocates memory that is released automatically, when a driver detaches. Thus, there is no reason to explicitly call kfree in probe or remove functions. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Anton Vorontsov <anton@enomsg.org>