88pm860x_charger: Drop kfree of devm_kzalloc'd data
authorJingoo Han <jg1.han@samsung.com>
Mon, 11 Mar 2013 06:30:40 +0000 (15:30 +0900)
committerAnton Vorontsov <anton@enomsg.org>
Mon, 1 Apr 2013 06:25:17 +0000 (23:25 -0700)
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>

No differences found