Skip to contentSkip to conversation

ARM/ARM64: defconfig: drop GPIO_SYSFS on multiplatforms

PATCH New Linus Walleij 2 participants 3 messages Nov 24, 2016 – Dec 2, 2016 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM/ARM64: defconfig: drop GPIO_SYSFS on multiplatforms

The sysfs ABI to GPIO is marked obsolete and should not be encouraged. Users should be encouraged to switch to using the character device.

Let's begin by removing it from the multi defconfigs. Then as time goes by I can aggressively remove it from other defconfigs.

---
ARM SoC folks: please apply this for whatever branch holds defconfig changes.

---
 arch/arm/configs/multi_v5_defconfig | 1 -
 arch/arm/configs/multi_v7_defconfig | 1 -
 arch/arm64/configs/defconfig        | 1 -
 3 files changed, 3 deletions(-)
arch/arm/configs/multi_v5_defconfig +0 -1
index 2658b80fa263..361686a362f1 100644
@@ -150,7 +150,6 @@ CONFIG_SPI=y
 CONFIG_SPI_ATMEL=y
 CONFIG_SPI_IMX=y
 CONFIG_SPI_ORION=y
-CONFIG_GPIO_SYSFS=y
 CONFIG_POWER_RESET=y
 CONFIG_POWER_RESET_GPIO=y
 CONFIG_POWER_RESET_QNAP=y
arch/arm/configs/multi_v7_defconfig +0 -1
index 11f37ed1dbff..ed0053da56c6 100644
@@ -404,7 +404,6 @@ CONFIG_PINCTRL_MSM8X74=y
 CONFIG_PINCTRL_MSM8916=y
 CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
 CONFIG_PINCTRL_QCOM_SSBI_PMIC=y
-CONFIG_GPIO_SYSFS=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_GPIO_DAVINCI=y
 CONFIG_GPIO_DWAPB=y
arch/arm64/configs/defconfig +0 -1
index dab2cb0c1f1c..cea5a9d73506 100644
@@ -252,7 +252,6 @@ CONFIG_PINCTRL_MSM8916=y
 CONFIG_PINCTRL_MSM8996=y
 CONFIG_PINCTRL_QDF2XXX=y
 CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
-CONFIG_GPIO_SYSFS=y
 CONFIG_GPIO_DWAPB=y
 CONFIG_GPIO_PL061=y
 CONFIG_GPIO_RCAR=y
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 ARM/ARM64: defconfig: drop GPIO_SYSFS on multiplatforms

Quoted 9 lines · CET Linus Walleij

The sysfs ABI to GPIO is marked obsolete and should not be encouraged. Users should be encouraged to switch to using the character device.

Let's begin by removing it from the multi defconfigs. Then as time goes by I can aggressively remove it from other defconfigs.

Quoted 9 lines

---
ARM SoC folks: please apply this for whatever branch holds defconfig changes.

---
 arch/arm/configs/multi_v5_defconfig | 1 -
 arch/arm/configs/multi_v7_defconfig | 1 -
 arch/arm64/configs/defconfig        | 1 -
 3 files changed, 3 deletions(-)

Hmm, while this is a trivial change, we normally put the defconfig changes for arm and arm64 into two separate next/* branches.

I've split the patch up accordingly and slightly modified the changelog text to match.

Arnd

#2 lore raw

PATCH 1/1 ARM/ARM64: defconfig: drop GPIO_SYSFS on multiplatforms

Quoted 4 lines · Arnd Bergmann
Quoted 3 lines · CET Linus Walleij

The sysfs ABI to GPIO is marked obsolete and should not be encouraged. Users should be encouraged to switch to using the character device.

(...)

Quoted 9 lines
Quoted 3 lines
 arch/arm/configs/multi_v5_defconfig | 1 -
 arch/arm/configs/multi_v7_defconfig | 1 -
 arch/arm64/configs/defconfig        | 1 -

Hmm, while this is a trivial change, we normally put the defconfig changes for arm and arm64 into two separate next/* branches.

I've split the patch up accordingly and slightly modified the changelog text to match.

OK thanks a lot Arnd, I was a bit uncertain about that.

Yours,
Linus Walleij