]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b4525635843e749a0bc5d233a8aa14e12d8daaa
tree781160fc4314f8e05ee1224df07b65ea3e8438b6
parent50fb63e850a6dc66238366de36dff41319108387
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: f5a34a64e8f6 ("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