commit | f072c8900c11bc91eb3fa9287bab4ce606632be5 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Tue May 29 15:07:25 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue May 29 16:22:31 2012 -0700 |
tree | d0301ae9b4d5089f1c9104c0d9c44de82ef7e982 | |
parent | d073adc5caf03a928a230baf2d8a86b1f9a03710 [diff] |
backlight: tosa_bl: 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: Dmitry Baryshkov <dbaryshkov@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>