ACPI / video: Propagate the error code for acpi_video_register
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 1 Mar 2015 10:41:38 +0000 (10:41 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 Mar 2015 14:10:36 +0000 (15:10 +0100)
Report the actual error code from acpi_bus_register_driver(), it may
help future debugging (typically ENODEV as previously reported, but the
unusual cases are where it may help most).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video.c

Simple merge