summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-omap-100k.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-02-08 22:46:02 +0800
committerMark Brown <broonie@linaro.org>2014-02-10 12:16:17 +0000
commitd655bbbd5beead3643f6769adaa1f30bcddc3fe2 (patch)
tree20e96237f995d5d6b7eebc8991b723394f9f79b9 /drivers/spi/spi-omap-100k.c
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
downloadop-kernel-dev-d655bbbd5beead3643f6769adaa1f30bcddc3fe2.zip
op-kernel-dev-d655bbbd5beead3643f6769adaa1f30bcddc3fe2.tar.gz
spi: omap-100k: Remove unused MOD_REG_BIT macro
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-omap-100k.c')
-rw-r--r--drivers/spi/spi-omap-100k.c7
1 files changed, 0 insertions, 7 deletions
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;
OpenPOWER on IntegriCloud