]> Git Repo - linux.git/commit
backlight: ld9040: use devm_ functions
authorJingoo Han <[email protected]>
Tue, 29 May 2012 22:07:23 +0000 (15:07 -0700)
committerLinus Torvalds <[email protected]>
Tue, 29 May 2012 23:22:30 +0000 (16:22 -0700)
commit86f6be4fae7aeaeb038dc809b232ebe76b2e1dd2
tree5f84de7ca32d7f5f27d18ec75145170a254f333e
parentba4a887ac3ff2e3ce876115a3e0828caa9c6f428
backlight: ld9040: use devm_ functions

The devm_ functions allocate memory that is released when a driver
detaches.  This patch uses devm_kzalloc of these functions.

Signed-off-by: Jingoo Han <[email protected]>
Cc: Donghwa Lee <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/backlight/ld9040.c
This page took 0.048818 seconds and 4 git commands to generate.