backlight: atmel-pwm-bl: fix gpio polarity in remove
authorJohan Hovold <jhovold@gmail.com>
Tue, 12 Nov 2013 23:09:39 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:21 +0000 (12:09 +0900)
commitad5066d4c2b1d696749f8d7816357c23b648c4d3
tree2746b58f70d4ff302c09f3be817b73107457c285
parent185d91442550110db67a7dc794a32efcea455a36
backlight: atmel-pwm-bl: fix gpio polarity in remove

Make sure to honour gpio polarity also at remove so that the backlight is
actually disabled on boards with active-low enable pin.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Cc: <stable@vger.kernel.org>
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