diff options
| author | Jingoo Han <[email protected]> | 2012-12-18 00:00:58 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-12-18 01:15:16 +0000 |
| commit | 2c114cb4edb741822ea48e80be8c525032206e9a (patch) | |
| tree | 510bf0549f30c125df70c70af1d2a0c2fdb50adb /lib/dynamic_debug.c | |
| parent | drivers/video/backlight/88pm860x_bl.c: drop devm_kfree of devm_kzalloc'd data (diff) | |
| download | kernel-2c114cb4edb741822ea48e80be8c525032206e9a.tar.gz kernel-2c114cb4edb741822ea48e80be8c525032206e9a.zip | |
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 <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
