diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-07-30 23:40:37 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 02:25:15 +0200 |
commit | f673934c615987abe16919ede8fcd3ff6805d0d6 (patch) | |
tree | 37de532b32a948a35adcce3cb9cdf21edd4227f0 /drivers/video/backlight/tosa_lcd.c | |
parent | backlight: atmel-pwm-bl: use devm_gpio_request() (diff) | |
download | linux-f673934c615987abe16919ede8fcd3ff6805d0d6.tar.xz linux-f673934c615987abe16919ede8fcd3ff6805d0d6.zip |
backlight: ot200_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>
Acked-by: Christian Gmeiner <christian.gmeiner@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 'drivers/video/backlight/tosa_lcd.c')
0 files changed, 0 insertions, 0 deletions