commit | 58875ea925763e99b8862dc07bcdebde774d830b | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Tue May 29 15:07:21 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue May 29 16:22:30 2012 -0700 |
tree | cbdb92236f13e5a4fed912adc0574ee5feb13a02 | |
parent | f5f4fd451634e5295cc807684a0eabd264b9db4d [diff] |
backlight: adp8860: 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> Acked-by: Michael Hennerich <michael.hennerich@analog.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>