]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit355b483218fce8bae49aefcc44db562bb0359318
tree4e9881852ce067ebf6488039a957a278c21b4247
parent5e61ad5ee6fa77067e8460e94b03923555642f31
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