ACPI / x86: utils: Remove status workaround from acpi_device_always_present()
authorHans de Goede <hdegoede@redhat.com>
Thu, 9 Aug 2018 09:15:57 +0000 (11:15 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Aug 2018 10:14:35 +0000 (12:14 +0200)
commit21ba074cb47171a34f60e250e8f7ef3dc1529e43
tree5ae9372e727f33a86156c893021c201c4db855ca
parentd0ed4c60abfb9a4ab6cd416d1dea9df6266f8fc7
ACPI / x86: utils: Remove status workaround from acpi_device_always_present()

Now that we init the status field to ACPI_STA_DEFAULT rather then to 0,
the workaround for acpi_match_device_ids() always returning -ENOENT when
status is 0 is no longer needed.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/utils.c