drivers/video/backlight/lm3533_bl.c: use devm_ functions
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Jul 2012 21:40:34 +0000 (14:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:15 +0000 (17:25 -0700)
commitb4a74615a4729ca4e6903bd3027339c4e6e7ae03
treec5d8d6453de0f531f8d960e543b4b8623f4355fe
parentf1b60d46b6f1274f1eacfc89ddbf7f6b63348196
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>
drivers/video/backlight/lm3533_bl.c