Rafael J. Wysocki a976a2ac77 ACPI: scan: Walk ACPI device's children using driver core
Instead of walking the list of children of an ACPI device directly, use
acpi_dev_for_each_child() or acpi_dev_for_each_child_reverse() to carry
out an action for all of the given ACPI device's children.

This will help to eliminate the children list head from struct
acpi_device as it is redundant and it is used in questionable ways
in some places (in particular, locking is needed for walking the
list pointed to it safely, but it is often missing).

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2022-06-21 14:34:28 +02:00
..
2022-05-25 15:37:07 +02:00
2022-05-27 21:24:19 -07:00
2022-01-12 15:57:59 -08:00
2022-03-25 12:14:39 -07:00
2022-04-05 10:24:38 +02:00
2022-01-12 19:40:31 +01:00
2020-11-09 19:25:20 +01:00
2022-05-25 15:37:07 +02:00
2022-05-27 21:24:19 -07:00
2022-01-22 08:33:37 +02:00
2021-06-07 15:36:46 +02:00
2020-11-09 19:08:06 +01:00
2021-06-25 15:02:43 +02:00
2020-11-09 19:08:06 +01:00