]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: atmel-pwm-bl: use gpio_request_one
authorJohan Hovold <jhovold@gmail.com>
Tue, 5 Nov 2013 05:56:45 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:45 +0000 (16:56 +1100)
commit0bb46f1d4976858ba219f2123ebb1dbfdff67397
tree38d682d1802de77a8d5cd0ffe9e6ec77a0993901
parentee88ec657af7b5f71085c42b173d2e8256938090
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>
drivers/video/backlight/atmel-pwm-bl.c