commit | 29166faac5486cbc34228431cd049e1c1be451ac | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Sun Oct 15 23:34:25 2023 +0200 |
committer | Wolfram Sang <wsa@kernel.org> | Sat Oct 28 15:30:24 2023 +0200 |
tree | 1f213c803d9075d76bfe7bdc5eed5ea7d3443ba1 | |
parent | 3d6cd1af37cb937bb8b65e6047dffc2fb5be7d1c [diff] |
ACPI: Add helper acpi_use_parent_companion In several drivers devices use the ACPI companion of the parent. Add a helper for this use case to avoid code duplication. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Wolfram Sang <wsa@kernel.org>