Skip to contentSkip to conversation

mmc: mtk-sd: Remove unused of_gpio.h

PATCH In review Andy Shevchenko 4 participants 4 messages Mar 7, 2024 – Mar 25, 2024

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

PATCH 1/1 mmc: mtk-sd: 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/mmc/host/mtk-sd.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/mtk-sd.c +0 -1
index 1634b1f5d201..a94835b8ab93 100644
@@ -13,7 +13,6 @@
 #include <linux/ioport.h>
 #include <linux/irq.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
 #include <linux/pm.h>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
Reviewed-by on v1 1/1
#1 lore raw
Quoted 25 lines · Andy Shevchenko

External email : Please do not click links or open attachments until you have verified the sender or the content.
of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

---
 drivers/mmc/host/mtk-sd.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/mtk-sd.c +0 -1
index 1634b1f5d201..a94835b8ab93 100644
@@ -13,7 +13,6 @@
 #include <linux/ioport.h>
 #include <linux/irq.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
 #include <linux/pm.h>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
#3 lore raw
In reply to Andy Shevchenko
Quoted 5 lines · Andy Shevchenko

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

Applied for next, thanks!

Kind regards
Uffe

Quoted 19 lines
---
 drivers/mmc/host/mtk-sd.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/mtk-sd.c +0 -2
index 1634b1f5d201..a94835b8ab93 100644
@@ -13,7 +13,6 @@
 #include <linux/ioport.h>
 #include <linux/irq.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
 #include <linux/pm.h>
--

2.43.0.rc1.1.gbec44491f096