Skip to contentSkip to conversation

mmc: sdhci-s3c: Remove unused define for NUM_GPIOS

PATCH RESEND In review Axel Lin 2 participants 3 messages Mar 8, 2014 – Apr 14, 2014

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH RESEND 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
author
#1 lore raw

2014-03-08 15:03 GMT+08:00 Axel Lin <[email protected]>:

Quoted 3 lines

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

Hi Chris,
Would you pick up this patch?

Regards,
Axel

Acked-by on v1 1/1
#2 lore raw
In reply to Axel Lin
Quoted 6 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.

Quoted 27 lines
---
 drivers/mmc/host/sdhci-s3c.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/mmc/host/sdhci-s3c.c +0 -4
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
--

1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html