Skip to contentSkip to conversation

mmc: sdhci-sprd: 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: sdhci-sprd: 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/sdhci-sprd.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/sdhci-sprd.c +0 -1
index bed57a1c64b5..685b1c648901 100644
@@ -13,7 +13,6 @@
 #include <linux/mmc/mmc.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Andy Shevchenko

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

Thanks.

Quoted 16 lines
---
  drivers/mmc/host/sdhci-sprd.c | 1 -
  1 file changed, 1 deletion(-)
drivers/mmc/host/sdhci-sprd.c +0 -1
index bed57a1c64b5..685b1c648901 100644
@@ -13,7 +13,6 @@
  #include <linux/mmc/mmc.h>
  #include <linux/module.h>
  #include <linux/of.h>
-#include <linux/of_gpio.h>
  #include <linux/pinctrl/consumer.h>
  #include <linux/platform_device.h>
  #include <linux/pm_runtime.h>
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to Andy Shevchenko
Quoted 4 lines · Andy Shevchenko

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

Quoted 16 lines
---
 drivers/mmc/host/sdhci-sprd.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/sdhci-sprd.c +0 -1
index bed57a1c64b5..685b1c648901 100644
@@ -13,7 +13,6 @@
 #include <linux/mmc/mmc.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
#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/sdhci-sprd.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/sdhci-sprd.c +0 -2
index bed57a1c64b5..685b1c648901 100644
@@ -13,7 +13,6 @@
 #include <linux/mmc/mmc.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
--

2.43.0.rc1.1.gbec44491f096