Skip to contentSkip to conversation

mmc: sdhci-s3c: Remove unused define for NUM_GPIOS

PATCH Superseded Axel Lin 2 participants 2 messages Oct 3, 2013 – Nov 8, 2013

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 mmc: sdhci-s3c: Remove unused define for NUM_GPIOS

NUM_GPIOS is not used after commit e19499ae
"mmc: sdhci-s3c: let device core setup the default pin configuration". Thus remove it.

---
 drivers/mmc/host/sdhci-s3c.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/mmc/host/sdhci-s3c.c +0 -3
index 926aaf6..d0732d2 100644
@@ -33,9 +33,6 @@
 
 #define MAX_BUS_CLK	(4)
 
-/* Number of gpio's used is max data bus width + command and clock lines */
-#define NUM_GPIOS(x)	(x + 2)
-
 /**
  * struct sdhci_s3c - S3C SDHCI instance
  * @host: The SDHCI host created
Signature · 1 line
1.8.1.2
maintainer Acked-by on v1 1/1
#1 lore raw

Best Regards,
Jaehoon Chung

Quoted 24 lines · Axel Lin

NUM_GPIOS is not used after commit e19499ae
"mmc: sdhci-s3c: let device core setup the default pin configuration". Thus remove it.

---
 drivers/mmc/host/sdhci-s3c.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/mmc/host/sdhci-s3c.c +0 -3
index 926aaf6..d0732d2 100644
@@ -33,9 +33,6 @@
 
 #define MAX_BUS_CLK	(4)
 
-/* Number of gpio's used is max data bus width + command and clock lines */
-#define NUM_GPIOS(x)	(x + 2)
-
 /**
  * struct sdhci_s3c - S3C SDHCI instance
  * @host: The SDHCI host created