Skip to content

Commit 0ad4b44

Browse files
tejlmandcfriedt
authored andcommitted
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 <[email protected]>
1 parent f7d0ae5 commit 0ad4b44

File tree

5 files changed

+0
-6
lines changed

5 files changed

+0
-6
lines changed

drivers/modem/Kconfig.quectel-bg9x

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ config MODEM_QUECTEL_BG9X
1010
select MODEM_IFACE_UART
1111
select MODEM_SOCKET
1212
select NET_SOCKETS_OFFLOAD
13-
imply GPIO
1413
help
1514
Choose this setting to enable quectel BG9x LTE-CatM1/NB-IoT modem
1615
driver.

drivers/modem/Kconfig.ublox-sara-r4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ config MODEM_UBLOX_SARA
1111
select MODEM_SOCKET
1212
select NET_OFFLOAD
1313
select NET_SOCKETS_OFFLOAD
14-
imply GPIO
1514
help
1615
Choose this setting to enable u-blox SARA-R4 LTE-CatM1/NB-IoT modem
1716
driver.
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
CONFIG_GPIO=y
2-
31
CONFIG_PM=y
42
CONFIG_PM_DEVICE=y
53
CONFIG_PM_DEVICE_RUNTIME=y

samples/subsys/mgmt/osdp/control_panel/prj.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
CONFIG_PRINTK=y
88
CONFIG_LOG=y
9-
CONFIG_GPIO=y
109

1110
# OSDP config
1211
CONFIG_OSDP=y

samples/subsys/mgmt/osdp/peripheral_device/prj.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
CONFIG_PRINTK=y
88
CONFIG_LOG=y
9-
CONFIG_GPIO=y
109

1110
# OSDP config
1211
CONFIG_OSDP=y

0 commit comments

Comments
 (0)