Skip to contentSkip to conversation

mmc: dw_mmc: Remove unused of_gpio.h

PATCH In review Andy Shevchenko 3 participants 3 messages Mar 4, 2024 – Mar 5, 2024

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

PATCH 1/1 mmc: dw_mmc: 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/dw_mmc-exynos.c | 1 -
 drivers/mmc/host/dw_mmc.c        | 1 -
 2 files changed, 2 deletions(-)
drivers/mmc/host/dw_mmc-exynos.c +0 -1
index 698408e8bad0..6dc057718d2c 100644
@@ -11,7 +11,6 @@
 #include <linux/mmc/host.h>
 #include <linux/mmc/mmc.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/pm_runtime.h>
 #include <linux/slab.h>
 
drivers/mmc/host/dw_mmc.c +0 -1
index 829af2c98a44..8e2d676b9239 100644
@@ -35,7 +35,6 @@
 #include <linux/bitops.h>
 #include <linux/regulator/consumer.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/mmc/slot-gpio.h>
 
 #include "dw_mmc.h"
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Andy Shevchenko

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

---

Quoted 32 lines
 drivers/mmc/host/dw_mmc-exynos.c | 1 -
 drivers/mmc/host/dw_mmc.c        | 1 -
 2 files changed, 2 deletions(-)
drivers/mmc/host/dw_mmc-exynos.c +0 -1
index 698408e8bad0..6dc057718d2c 100644
@@ -11,7 +11,6 @@
 #include <linux/mmc/host.h>
 #include <linux/mmc/mmc.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/pm_runtime.h>
 #include <linux/slab.h>
 
drivers/mmc/host/dw_mmc.c +0 -2
index 829af2c98a44..8e2d676b9239 100644
@@ -35,7 +35,6 @@
 #include <linux/bitops.h>
 #include <linux/regulator/consumer.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/mmc/slot-gpio.h>
 
 #include "dw_mmc.h"
--

2.43.0.rc1.1.gbec44491f096

#2 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 32 lines
---
 drivers/mmc/host/dw_mmc-exynos.c | 1 -
 drivers/mmc/host/dw_mmc.c        | 1 -
 2 files changed, 2 deletions(-)
drivers/mmc/host/dw_mmc-exynos.c +0 -1
index 698408e8bad0..6dc057718d2c 100644
@@ -11,7 +11,6 @@
 #include <linux/mmc/host.h>
 #include <linux/mmc/mmc.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/pm_runtime.h>
 #include <linux/slab.h>
 
drivers/mmc/host/dw_mmc.c +0 -2
index 829af2c98a44..8e2d676b9239 100644
@@ -35,7 +35,6 @@
 #include <linux/bitops.h>
 #include <linux/regulator/consumer.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/mmc/slot-gpio.h>
 
 #include "dw_mmc.h"
--

2.43.0.rc1.1.gbec44491f096