In several drivers devices use the ACPI companion of the parent. Add a helper for this use case to avoid code duplication. Heiner Kallweit (2): ACPI: Add helper acpi_use_parent_companion i2c: i801: Use new helper acpi_use_parent_companion drivers/i2c/busses/i2c-i801.c | 2 +- include/linux/acpi.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) -- 2.42.0