commit | 3a1f9462dbdf4d671f2f21290d507d1ae89d141a | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Mon Dec 17 16:00:57 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Dec 17 17:15:16 2012 -0800 |
tree | df5d0093bd45d4ae4823878ddc0545e68690b1b3 | |
parent | 3c48d1f2539cf3a42adc5fe4f77950eeb28bef3b [diff] |
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>