ACPI / sleep: Switch to use acpi_dev_get_first_match_dev()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 12 Jun 2019 10:07:02 +0000 (13:07 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 13 Jun 2019 20:43:21 +0000 (22:43 +0200)
commita3487d8f30635e3fa9db986cee6fca8012a996f4
tree21762e7ad8afd2ce5c0baff02ea13bd857c28878
parent32865e3e010f0ea81e518878e9a6b1492ff07281
ACPI / sleep: Switch to use acpi_dev_get_first_match_dev()

Switch the acpi_pm_finish() to use acpi_dev_get_first_match_dev() instead of
custom approach.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/sleep.c