diff mbox

spi: omap-100k: Remove unused MOD_REG_BIT macro

Message ID 1391870762.4110.1.camel@phoenix (mailing list archive)
State Accepted
Commit d655bbbd5beead3643f6769adaa1f30bcddc3fe2
Headers show

Commit Message

Axel Lin Feb. 8, 2014, 2:46 p.m. UTC
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/spi/spi-omap-100k.c | 7 -------
 1 file changed, 7 deletions(-)

Comments

Mark Brown Feb. 10, 2014, 12:18 p.m. UTC | #1
On Sat, Feb 08, 2014 at 10:46:02PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Applied, thanks.
diff mbox

Patch

diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c
index 0d32054..657184a 100644
--- a/drivers/spi/spi-omap-100k.c
+++ b/drivers/spi/spi-omap-100k.c
@@ -99,13 +99,6 @@  struct omap1_spi100k_cs {
 	int                     word_len;
 };
 
-#define MOD_REG_BIT(val, mask, set) do { \
-	if (set) \
-		val |= mask; \
-	else \
-		val &= ~mask; \
-} while (0)
-
 static void spi100k_enable_clock(struct spi_master *master)
 {
 	unsigned int val;