mbox series

[0/2] Add and use new helper acpi_use_parent_companion

Message ID 90bd1071-317e-4dfe-b94b-9bcee15d66c5@gmail.com
Headers show
Series Add and use new helper acpi_use_parent_companion | expand

Message

Heiner Kallweit Oct. 15, 2023, 9:33 p.m. UTC
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(-)