]> Git Repo - linux.git/commit
drivers/video/backlight/88pm860x_bl.c: drop devm_kfree of devm_kzalloc'd data
authorJingoo Han <[email protected]>
Tue, 18 Dec 2012 00:00:57 +0000 (16:00 -0800)
committerLinus Torvalds <[email protected]>
Tue, 18 Dec 2012 01:15:16 +0000 (17:15 -0800)
commit3a1f9462dbdf4d671f2f21290d507d1ae89d141a
treedf5d0093bd45d4ae4823878ddc0545e68690b1b3
parent3c48d1f2539cf3a42adc5fe4f77950eeb28bef3b
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 <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/backlight/88pm860x_bl.c
This page took 0.054305 seconds and 4 git commands to generate.