diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-12-17 16:00:58 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 17:15:16 -0800 |
commit | 2c114cb4edb741822ea48e80be8c525032206e9a (patch) | |
tree | 510bf0549f30c125df70c70af1d2a0c2fdb50adb /drivers/video/sm501fb.c | |
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>
Diffstat (limited to 'drivers/video/sm501fb.c')
0 files changed, 0 insertions, 0 deletions