]> git.karo-electronics.de Git - linux-beck.git/commitdiff
spi: omap-100k: Remove unused MOD_REG_BIT macro
authorAxel Lin <axel.lin@ingics.com>
Sat, 8 Feb 2014 14:46:02 +0000 (22:46 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 10 Feb 2014 12:16:17 +0000 (12:16 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-omap-100k.c

index 0d32054bfc0dd624c1d99ec37f47f6c8244b3ab2..657184a4644cc525c3bdde8f9a77ce7cafab7232 100644 (file)
@@ -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;