commit | 06c96f189bf94448779db66944836a827517d6c9 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Tue May 29 15:07:22 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue May 29 16:22:30 2012 -0700 |
tree | 65e29d88292528353306454db2e8720912845762 | |
parent | 80629efcae09c5d80a9fdeea5226cd81b4fec7f3 [diff] |
backlight: corgi_lcd: 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: Eric Miao <eric.y.miao@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>