Re: [U-Boot] [PATCH 16/17] sunxi: video: Remove sunxi_display.enabled variable

2014-12-29 Thread Ian Campbell
On Wed, 2014-12-24 at 20:06 +0100, Hans de Goede wrote: 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

[U-Boot] [PATCH 16/17] sunxi: video: Remove sunxi_display.enabled variable

2014-12-24 Thread Hans de Goede
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 hdego...@redhat.com --- drivers/video/sunxi_display.c | 12 ++--