leds: leds-88pm860x: drop devm_kfree of devm_kzalloc'd data
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Oct 2012 04:31:07 +0000 (21:31 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 26 Nov 2012 22:28:49 +0000 (14:28 -0800)
commit3651c4b904b005fcba757c529184e8c3c596cb05
tree88a28495b5b216eee61d64d20b6a89d0439559ed
parent1b21ec5a2852ffd8db4189d4ef1c221aabc64936
leds: leds-88pm860x: drop devm_kfree of devm_kzalloc'd data

The devm_kfree function allocates memory that is released
when a driver detaches. Thus, there is no reason to explicitly
call devm_kfree in probe or remove functions.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-88pm860x.c