gpio: xgene-sb: Drop redundant OF_GPIO dependency
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 12 May 2020 18:27:19 +0000 (21:27 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 18 May 2020 07:16:31 +0000 (09:16 +0200)
commit4d3a050039a98bf12a8b9aa106395ce0c2dd9219
tree7eb2888a3d4856ff322407d3ae7441725b671429
parentdb67aa33d58d1497c1e025c7dc34de95e83de529
gpio: xgene-sb: Drop redundant OF_GPIO dependency

There is nothing in the driver requires OF_GPIO. Moreover, driver
supports ACPI and OF_GPIO may be a quite overhead on such configurations.

Drop dependency for good and replace of_gpio.h to of.h since we have
one function to be defined from there.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200512182721.55127-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/gpio-xgene-sb.c