Re: [PATCH 1/4] acpi-video: Don't register acpi_video_resume notifier without backlight devices

2014-05-19 Thread Rafael J. Wysocki
On Friday, May 16, 2014 10:25:52 AM Aaron Lu wrote: On 05/15/2014 07:22 PM, Hans de Goede wrote: If we're not going to be registering any backlight devices then acpi_video_resume is always nop, so don't register it in that case. Signed-off-by: Hans de Goede hdego...@redhat.com

[PATCH 1/4] acpi-video: Don't register acpi_video_resume notifier without backlight devices

2014-05-15 Thread Hans de Goede
If we're not going to be registering any backlight devices then acpi_video_resume is always nop, so don't register it in that case. Signed-off-by: Hans de Goede hdego...@redhat.com -- Note to reviewers the changes to acpi_video_dev_register_backlight() only remove the if