linux/drivers/acpi/pmic
Daniel Scally a9e10e5873 ACPI: scan: Extend acpi_walk_dep_device_list()
The acpi_walk_dep_device_list() function is not as generic as its
name implies, serving only to decrement the dependency count for each
dependent device of the input.

Extend it to accept a callback which can be applied to all the
dependencies in acpi_dep_list.

Replace all existing calls to the function with calls to a wrapper,
passing a callback that applies the same dependency reduction.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Maximilian Luz <luzmaximilian@gmail.com>  # for platform/surface parts
Signed-off-by: Daniel Scally <djrscally@gmail.com>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2021-06-07 16:45:05 +02:00
..
intel_pmic_bxtwc.c ACPI / PMIC: Convert drivers to use SPDX identifier 2018-09-10 12:57:55 +02:00
intel_pmic_bytcrc.c ACPI / PMIC: Add byt prefix to Crystal Cove PMIC OpRegion driver 2019-10-25 11:43:08 +02:00
intel_pmic_chtcrc.c ACPI: fix various typos in comments 2021-03-19 17:45:49 +01:00
intel_pmic_chtdc_ti.c ACPI: scan: Extend acpi_walk_dep_device_list() 2021-06-07 16:45:05 +02:00
intel_pmic_chtwc.c ACPI / PMIC: Implement exec_mipi_pmic_seq_element for CHT Whiskey Cove PMIC 2019-01-09 10:35:03 +01:00
intel_pmic_xpower.c Linux 5.0-rc7 2019-02-18 13:27:15 +10:00
intel_pmic.c ACPI / PMIC: Do not register handlers for unhandled OpRegions 2019-10-25 11:43:08 +02:00
intel_pmic.h ACPI / PMIC: Add generic intel_soc_pmic_exec_mipi_pmic_seq_element handling 2019-01-09 10:35:03 +01:00
Kconfig ACPI / PMIC: Move TPS68470 OpRegion driver to drivers/acpi/pmic/ 2020-09-15 19:40:59 +02:00
Makefile ACPI / PMIC: Move TPS68470 OpRegion driver to drivers/acpi/pmic/ 2020-09-15 19:40:59 +02:00
tps68470_pmic.c ACPI / PMIC: Sort headers alphabetically 2018-09-10 12:57:04 +02:00