diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-07-23 23:34:11 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-07-30 14:12:51 +0300 |
commit | 6fe9363b15767babf3f5b9eb41a664de2cff4030 (patch) | |
tree | 151b027af98dfcbc0458ddd9af59d120be3b16e7 /drivers/platform/x86/peaq-wmi.c | |
parent | bad9da86f9f10a2e68a1574dd34edde6f8556d5f (diff) |
platform/x86: acer-wmi: Switch to acpi_dev_get_first_match_dev()
The acpi_dev_get_first_match_dev() helper will find and return
an ACPI device pointer of the first registered device in the system
by its HID.
Use it instead of open coded variant.
Cc: Chun-Yi Lee <jlee@suse.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/peaq-wmi.c')
0 files changed, 0 insertions, 0 deletions