backlight: s6e63m0: use devm_ functions
authorJingoo Han <[email protected]>
Tue, 29 May 2012 22:07:24 +0000 (15:07 -0700)
committerLinus Torvalds <[email protected]>
Tue, 29 May 2012 23:22:31 +0000 (16:22 -0700)
commit541f936f5d3993c5bbed33bdb53acd6de2403b04
treee1bbd043cc8f966a16d135352d79d3b019fa42e9
parentab03e04741fc7a5747daabc57d15cb1a3e2fd289
backlight: s6e63m0: 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: InKi Dae <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/backlight/s6e63m0.c