sunxi: video: Remove sunxi_display.enabled variable
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Dec 2014 18:47:14 +0000 (19:47 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:39 +0000 (14:56 +0100)
commitb98d04803099c6e5eb4b73d80a17b1d2d8b7b9a9
tree8dc1d4dd35b0e20069c57e50f2c5f1e4f6a5d113
parent7398fd58e6370c8ab739e418eaad778d144516fb
sunxi: video: Remove sunxi_display.enabled variable

Having both a sunxi_display.enabled variable and
sunxi_display.monitor == sunxi_monitor_none duplicates state, use
sunxi_display.monitor = sunxi_monitor_none when ever we do not have a display.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/video/sunxi_display.c