From 81607311e5e98919f1c1432a428bf3fe207583ae Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Tue, 14 Sep 2021 17:25:36 +0200 Subject: [PATCH] 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. 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 --- drivers/modem/Kconfig.quectel-bg9x | 1 - drivers/modem/Kconfig.ublox-sara-r4 | 1 - samples/boards/stm32/power_mgmt/blinky/prj.conf | 2 -- 3 files changed, 4 deletions(-) diff --git a/drivers/modem/Kconfig.quectel-bg9x b/drivers/modem/Kconfig.quectel-bg9x index 1f97ef67fa98..8cc6dcaa348f 100644 --- a/drivers/modem/Kconfig.quectel-bg9x +++ b/drivers/modem/Kconfig.quectel-bg9x @@ -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. diff --git a/drivers/modem/Kconfig.ublox-sara-r4 b/drivers/modem/Kconfig.ublox-sara-r4 index 1a14aa111aab..6b925585c8cf 100644 --- a/drivers/modem/Kconfig.ublox-sara-r4 +++ b/drivers/modem/Kconfig.ublox-sara-r4 @@ -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. diff --git a/samples/boards/stm32/power_mgmt/blinky/prj.conf b/samples/boards/stm32/power_mgmt/blinky/prj.conf index e3592321ed28..4921dcc3392b 100644 --- a/samples/boards/stm32/power_mgmt/blinky/prj.conf +++ b/samples/boards/stm32/power_mgmt/blinky/prj.conf @@ -1,5 +1,3 @@ -CONFIG_GPIO=y - CONFIG_PM=y CONFIG_PM_DEVICE=y CONFIG_PM_DEVICE_RUNTIME=y