]> 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>
Sat, 3 Nov 2012 00:42:46 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 8 Nov 2012 04:08:49 +0000 (15:08 +1100)
commit07fdde6597dd0a834567648d256ccebb1c330bba
treeb603389530b43466eea936e79afb1450f66d7d5c
parent50d4057af6635843d28a116663e6f1a23428d802
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