gpio: mlxbf2: Drop wrong use of ACPI_PTR()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Aug 2021 11:59:49 +0000 (14:59 +0300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 16 Aug 2021 19:20:55 +0000 (21:20 +0200)
commit603607e70e3626e6ceb3ddec86e2a060c6cd6191
tree0b72b48685cbc53f1391039212ef860acd8ab400
parentdabe57c3a32d763b4b096915f8488dd9100c37e9
gpio: mlxbf2: Drop wrong use of ACPI_PTR()

ACPI_PTR() is more harmful than helpful. For example, in this case
if CONFIG_ACPI=n, the ID table left unused which is not what we want.

Instead of adding ifdeffery here and there, drop ACPI_PTR() and
replace acpi.h with mod_devicetable.h.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Asmaa Mnehi <asmaa@nvidia.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-mlxbf2.c