atmel_lcdfb: blank the backlight on remove
authorRichard Genoud <richard.genoud@gmail.com>
Fri, 31 May 2013 15:49:35 +0000 (15:49 +0000)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 31 May 2013 19:18:55 +0000 (03:18 +0800)
commit56c21b53ab071feb3ce93375a563ead745fa7105
treec6c10744b170546f41b6467d0458d5203d0dadca
parent65ac057bce426b4abdf42384c4e09e40a634df32
atmel_lcdfb: blank the backlight on remove

When removing atmel_lcdfb module, the backlight is unregistered but not
blanked. (only for CONFIG_BACKLIGHT_ATMEL_LCDC case).
This can result in the screen going full white depending on how the PWM
is wired.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
drivers/video/atmel_lcdfb.c