]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/88pm860x_bl.c: drop devm_kfree of devm_kzalloc'd data
authorJingoo Han <jg1.han@samsung.com>
Fri, 9 Nov 2012 03:04:48 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Nov 2012 04:17:20 +0000 (15:17 +1100)
commit08d7563b268962fa7bcbe818accce4b2bfa914bb
tree5fb41b12089dce1ec1361005e5c16be1cda029db
parent760eaa0d746db673179017529c877f06d189e72c
drivers/video/backlight/88pm860x_bl.c: drop devm_kfree of devm_kzalloc'd data

devm_kfree() 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>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/88pm860x_bl.c