backlight: atmel-pwm-bl: refactor gpio_on handling
authorJohan Hovold <jhovold@gmail.com>
Tue, 12 Nov 2013 23:09:45 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:21 +0000 (12:09 +0900)
commit81b62db56dbdfef8f3b596dc2845df7ee3ab2165
treed035c19baa65faeda0c3bbac854250a986ad7f6d
parent5ada4550e86b081b889bced50e5ab6c510f9cdd7
backlight: atmel-pwm-bl: refactor gpio_on handling

Add helper function to control the gpio_on signal.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: 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