drivers: gpio: remove unused GPIO selection

Fixes: #38403

Removing unneeded `imply GPIO` and `CONFIG_GPIO=y` occurrences where no
files are added to the gpio zephyr library.

Also removed `CONFIG_GPIO=y` occurences where this is handled by
defconfigs for the soc or board.

Selection of GPIO without selecting any drivers results in the warning:

> No SOURCES given to Zephyr library: drivers__gpio
>
> Excluding target from build.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen 2021-09-14 17:25:36 +02:00 committed by Carles Cufí
commit d800b4a4d7
5 changed files with 0 additions and 6 deletions

View file

@ -10,7 +10,6 @@ config MODEM_QUECTEL_BG9X
select MODEM_IFACE_UART
select MODEM_SOCKET
select NET_SOCKETS_OFFLOAD
imply GPIO
help
Choose this setting to enable quectel BG9x LTE-CatM1/NB-IoT modem
driver.

View file

@ -11,7 +11,6 @@ config MODEM_UBLOX_SARA
select MODEM_SOCKET
select NET_OFFLOAD
select NET_SOCKETS_OFFLOAD
imply GPIO
help
Choose this setting to enable u-blox SARA-R4 LTE-CatM1/NB-IoT modem
driver.