ACPI / video: Make logic a little easier to understand.
authorDanny Baumann <dannybaumann@web.de>
Tue, 19 Mar 2013 16:22:51 +0000 (16:22 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Mar 2013 23:26:55 +0000 (00:26 +0100)
commit2d4128a25206685aaccaf14220c8436b11c6dc01
treeeae830a429a2602423592245fad57db097249c44
parenta89803df9c9b2d023227c48503066a728f1fed36
ACPI / video: Make logic a little easier to understand.

Make code paths a little easier to follow, and don't needlessly continue
list iteration.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
Reviewed-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video.c