gpio: aggregator: Remove CONFIG_OF and of_match_ptr() protections
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 15 Jun 2023 13:20:19 +0000 (16:20 +0300)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 16 Jun 2023 09:01:57 +0000 (11:01 +0200)
commitb89a9e9890d42ea83a77106c299d8a563b5d7dbf
tree0ddc1608b4d14bf319489c79f3d5928badbe44f1
parentae128bb36d23e4e95c52e5254c3b4cf408c54433
gpio: aggregator: Remove CONFIG_OF and of_match_ptr() protections

They stop the driver being used with ACPI PRP0001 and are something
I want to avoid being cut and paste into new drivers. Also include
mod_devicetable.h as we struct of_device_id is defined in there.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-aggregator.c