acer-wmi: Use acpi_dev_found()
authorLukas Wunner <lukas@wunner.de>
Thu, 24 Mar 2016 12:15:20 +0000 (13:15 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 9 Apr 2016 01:12:59 +0000 (03:12 +0200)
commit8c92a75e5086e85000deeb05f6f852446c8f758a
treea5894b9a3b59dcc57bb40b1bb479c687c5d3841a
parent9f9de69d754cc9f8f2d8c21bb92275d95ddb3c77
acer-wmi: Use acpi_dev_found()

Use shiny new acpi_dev_found() and remove all the boilerplate
to search for a particular ACPI device. No functional change.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Lee, Chun-Yi <jlee@suse.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/platform/x86/acer-wmi.c