diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-07-30 23:40:40 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 02:25:15 +0200 |
commit | f5b71941a5359cd6702be26715fd57d47187c0d9 (patch) | |
tree | e79dbd0374fc2bbba61365db0e5f1f24fbc2419f /lib | |
parent | backlight: tosa_lcd: use devm_gpio_request() (diff) | |
download | linux-f5b71941a5359cd6702be26715fd57d47187c0d9.tar.xz linux-f5b71941a5359cd6702be26715fd57d47187c0d9.zip |
backlight: tosa_bl: use devm_gpio_request()
The devm_ functions allocate memory that is released when a driver
detaches. This patch uses devm_gpio_request() for 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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions