drivers/video/backlight/ot200_bl.c: use devm_ functions
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Jul 2012 21:40:33 +0000 (14:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:15 +0000 (17:25 -0700)
commitf1b60d46b6f1274f1eacfc89ddbf7f6b63348196
tree4e9881852ce067ebf6488039a957a278c21b4247
parenta4be29ac6df4f7c7a0225f7f72c78f4fb10114c0
drivers/video/backlight/ot200_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>
Cc: Christian Gmeiner <christian.gmeiner@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/ot200_bl.c