gpio: pca953x: Drop unneeded ACPI_PTR()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 20 May 2020 21:19:14 +0000 (00:19 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Jun 2020 12:04:28 +0000 (14:04 +0200)
commit74910e15ab25f95f162bc4d4a634d029186543ce
tree93e90cfaccc5fedbf15238ca893c8c2bb3d9ab64
parent76bbea9a24df1feaed1f731ea4481dec2e39c239
gpio: pca953x: Drop unneeded ACPI_PTR()

ACPI_PTR() becomes a no-op when !CONFIG_ACPI. This is not needed since
we always have ID table enabled. Moreover, in the mentioned case compiler
will complain about defined but not used variable.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200520211916.25727-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c