commit | b4a74615a4729ca4e6903bd3027339c4e6e7ae03 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Mon Jul 30 14:40:34 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Jul 30 17:25:15 2012 -0700 |
tree | c5d8d6453de0f531f8d960e543b4b8623f4355fe | |
parent | f1b60d46b6f1274f1eacfc89ddbf7f6b63348196 [diff] |
drivers/video/backlight/lm3533_bl.c: 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 <jg1.han@samsung.com> Acked-by: Johan Hovold <jhovold@gmail.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>