Skip to contentSkip to conversation

gpio: altera: Drop legacy-of-mm-gpiochip.h header

PATCH Applied Andy Shevchenko 3 participants 4 messages Oct 31, 2024 – Nov 4, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gpio: altera: Drop legacy-of-mm-gpiochip.h header

Remove legacy-of-mm-gpiochip.h header file, replace of_* functions and structs with appropriate alternatives.

---
v2: dropped unneeded dependencies in Kconfig

 drivers/gpio/Kconfig       |   2 -
 drivers/gpio/gpio-altera.c | 178 ++++++++++++++++---------------------
 2 files changed, 78 insertions(+), 102 deletions(-)
drivers/gpio/Kconfig +0 -2
index 03ace402b50c..50a5b05a837d 100644
@@ -148,9 +148,7 @@ config GPIO_74XX_MMIO
 
 config GPIO_ALTERA
 	tristate "Altera GPIO"
-	depends on OF_GPIO
 	select GPIOLIB_IRQCHIP
-	select OF_GPIO_MM_GPIOCHIP
 	help
 	  Say Y or M here to build support for the Altera PIO device.
 
drivers/gpio/gpio-altera.c +78 -100

355 lines not on this page · raw message

Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
#2 lore raw
Quoted 11 lines · Linus Walleij
Quoted 4 lines · Andy Shevchenko

Remove legacy-of-mm-gpiochip.h header file, replace of_* functions and structs with appropriate alternatives.

Thanks for cleaning out this!

Thanks for reviewing!

It seems we have only 6 (six) drivers left, anybody to clean that in this / next cycle?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#3 lore raw
In reply to Andy Shevchenko

From: Bartosz Golaszewski <[email protected]>

Quoted 4 lines · Andy Shevchenko

Remove legacy-of-mm-gpiochip.h header file, replace of_* functions and structs with appropriate alternatives.

Applied, thanks!

[1/1] gpio: altera: Drop legacy-of-mm-gpiochip.h header

      commit: 50dded8d9d62b6291c91b43d4c73500b07fbd157

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>