i2c: i801: Use new helper acpi_use_parent_companion
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 15 Oct 2023 21:36:17 +0000 (23:36 +0200)
committerWolfram Sang <wsa@kernel.org>
Sat, 28 Oct 2023 13:30:39 +0000 (15:30 +0200)
commitd8d9919f4579a04d250b754e15597bfcf9379c14
tree0679e3eb6e818d3c8aa36bf8de0752e12316b652
parent29166faac5486cbc34228431cd049e1c1be451ac
i2c: i801: Use new helper acpi_use_parent_companion

Use new helper acpi_use_parent_companion to simplify the code.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-i801.c