diff mbox series

gpio: mvebu: drop dependency on OF_GPIO

Message ID 20241008081555.23465-1-brgl@bgdev.pl
State New
Headers show
Series gpio: mvebu: drop dependency on OF_GPIO | expand

Commit Message

Bartosz Golaszewski Oct. 8, 2024, 8:15 a.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

This driver doesn't really depend on interfaces from OF_GPIO so the
Kconfig dependency can be dropped.

Suggested-by: Uwe Kleine-König <ukleinek@kernel.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 drivers/gpio/Kconfig | 1 -
 1 file changed, 1 deletion(-)

Comments

Linus Walleij Oct. 11, 2024, 7:48 p.m. UTC | #1
On Tue, Oct 8, 2024 at 10:15 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> This driver doesn't really depend on interfaces from OF_GPIO so the
> Kconfig dependency can be dropped.
>
> Suggested-by: Uwe Kleine-König <ukleinek@kernel.org>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
Uwe Kleine-König Oct. 11, 2024, 9:40 p.m. UTC | #2
On Tue, Oct 08, 2024 at 10:15:55AM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> This driver doesn't really depend on interfaces from OF_GPIO so the
> Kconfig dependency can be dropped.
> 
> Suggested-by: Uwe Kleine-König <ukleinek@kernel.org>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Good idea! :-)

Acked-by: Uwe Kleine-König <ukleinek@kernel.org>

Best regards
Uwe
Bartosz Golaszewski Oct. 14, 2024, 8:31 a.m. UTC | #3
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Tue, 08 Oct 2024 10:15:55 +0200, Bartosz Golaszewski wrote:
> This driver doesn't really depend on interfaces from OF_GPIO so the
> Kconfig dependency can be dropped.
> 
> 

Applied, thanks!

[1/1] gpio: mvebu: drop dependency on OF_GPIO
      commit: 3a5ca23bb65169f2f79727c51a5495a2d7a5166e

Best regards,
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 98722e814e81..6643e81bf11e 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -488,7 +488,6 @@  config GPIO_MT7621
 config GPIO_MVEBU
 	def_bool y
 	depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
-	depends on OF_GPIO
 	select GENERIC_IRQ_CHIP
 	select REGMAP_MMIO