diff options
| author | 2019-07-23 23:34:11 +0300 | |
|---|---|---|
| committer | 2019-07-30 14:12:51 +0300 | |
| commit | 6fe9363b15767babf3f5b9eb41a664de2cff4030 (patch) | |
| tree | 151b027af98dfcbc0458ddd9af59d120be3b16e7 /scripts/patch-kernel | |
| parent | platform/x86: wmi: Remove acpi_has_method() call (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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
