i2c: mlxbf: depend on ACPI; clean away ifdeffage
authorAdam Borowski <kilobyte@angband.pl>
Mon, 10 Oct 2022 18:33:51 +0000 (20:33 +0200)
committerWolfram Sang <wsa@kernel.org>
Fri, 21 Oct 2022 05:59:35 +0000 (07:59 +0200)
commit65d78b8d0405fcda02b69fd3c34327e4af5cd465
tree781160fc4314f8e05ee1224df07b65ea3e8438b6
parentfdf23c62d98cda1d8935259dc7da3cc830a4bc6c
i2c: mlxbf: depend on ACPI; clean away ifdeffage

This fixes maybe_unused warnings/errors.

According to a comment during device tree removal, only ACPI is supported,
thus let's actually require it.

Fixes: be18c5ede25d ("i2c: mlxbf: remove device tree support")
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-mlxbf.c