diff options
| author | 2022-08-29 18:12:33 +0200 | |
|---|---|---|
| committer | 2022-09-03 20:51:06 +0200 | |
| commit | 98378956a407392109817278c6edd464252c7a83 (patch) | |
| tree | bd8b671d762e3a520b8686de11729e3acb53bd15 /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | ACPI: Drop redundant acpi_dev_parent() header (diff) | |
| download | linux-dev-98378956a407392109817278c6edd464252c7a83.tar.xz linux-dev-98378956a407392109817278c6edd464252c7a83.zip | |
ACPI: property: Use acpi_dev_parent()
After introducing acpi_dev_parent() in commit 62fcb99bdf10 ("ACPI: Drop
parent field from struct acpi_device"), it is better to use it instead
of accessing the dev.parent field in struct acpi_device directly.
Modify acpi_node_get_parent() accordingly.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
