commit | 2c114cb4edb741822ea48e80be8c525032206e9a | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Mon Dec 17 16:00:58 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Dec 17 17:15:16 2012 -0800 |
tree | 510bf0549f30c125df70c70af1d2a0c2fdb50adb | |
parent | 3a1f9462dbdf4d671f2f21290d507d1ae89d141a [diff] |
drivers/video/backlight/max8925_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>