backlight: atmel-pwm-bl: use gpio_request_one
authorJohan Hovold <jhovold@gmail.com>
Tue, 12 Nov 2013 23:09:46 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:22 +0000 (12:09 +0900)
commit9b3521ee8f35faa73459cda9a8b9b6e0a08a8d30
tree8328ad4e007c1f1d7f063d0a0995d2cb91d49e30
parent81b62db56dbdfef8f3b596dc2845df7ee3ab2165
backlight: atmel-pwm-bl: use gpio_request_one

Use devm_gpio_request_one rather than requesting and setting direction
in two calls.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/atmel-pwm-bl.c