diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-05-30 02:07:21 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-30 03:22:30 +0400 |
commit | 91cdb239905ea98fbcd373254ea0de86ca16c1e0 (patch) | |
tree | cbf4e8e72c020316ad260ad4c7a38c9b90e3de6f /samples | |
parent | 58875ea925763e99b8862dc07bcdebde774d830b (diff) | |
download | linux-91cdb239905ea98fbcd373254ea0de86ca16c1e0.tar.xz |
backlight: adp8870: 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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions