[PATCH] pinctrl: qcom: Make PINCTRL_SM8450 depend on PINCTRL_MSM

From: John Garry
Date: Tue Jul 26 2022 - 06:09:00 EST


All the many other configs depend on config PINCTRL_MSM, yet for config
PINCTRL_SM8450 we select config PINCTRL_MSM. Make config PINCTRL_SM8450
depend on PINCTRL_MSM to be consistent with the rest.

Signed-off-by: John Garry <john.garry@xxxxxxxxxx>
Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>
---
Note: .config output is same after this change. We also lose the need to
remove CONFIG_PINCTRL_MSM=y when sync'ing with savedefconfig
Based on arm/defconfig branch for ARM AND ARM64 SoC
SUB-ARCHITECTURES tree

diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig
index 3daeb9772391..4ac561667b20 100644
--- a/drivers/pinctrl/qcom/Kconfig
+++ b/drivers/pinctrl/qcom/Kconfig
@@ -367,7 +367,7 @@ config PINCTRL_SM8350
config PINCTRL_SM8450
tristate "Qualcomm Technologies Inc SM8450 pin controller driver"
depends on GPIOLIB && OF
- select PINCTRL_MSM
+ depends on PINCTRL_MSM
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for the
Qualcomm Technologies Inc TLMM block found on the Qualcomm
--
2.35.3