Skip to contentSkip to conversation

fpga: ice40-spi: Remove unused of_gpio.h

PATCH Applied Andy Shevchenko 2 participants 3 messages Mar 4, 2024 – Apr 11, 2024 FPGA manager framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fpga: ice40-spi: Remove unused of_gpio.h

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

---
 drivers/fpga/ice40-spi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/fpga/ice40-spi.c +0 -1
index c0028ae4c5b7..46927945f1b9 100644
@@ -11,7 +11,6 @@
 #include <linux/fpga/fpga-mgr.h>
 #include <linux/gpio/consumer.h>
 #include <linux/module.h>
-#include <linux/of_gpio.h>
 #include <linux/spi/spi.h>
 #include <linux/stringify.h>
 
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
#1 lore raw
Quoted 2 lines · Andy Shevchenko

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

Any comment on this? Can it be applied?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
Acked-by Applied
#2 lore raw
Quoted 5 lines · Andy Shevchenko
Quoted 2 lines · Andy Shevchenko

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

Any comment on this? Can it be applied?

Applied to for-next.

Quoted 7 lines
Signature · 3 lines
-- 
With Best Regards,
Andy Shevchenko