Commit d655bbbd authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

spi: omap-100k: Remove unused MOD_REG_BIT macro

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 38dbfb59
...@@ -99,13 +99,6 @@ struct omap1_spi100k_cs { ...@@ -99,13 +99,6 @@ struct omap1_spi100k_cs {
int word_len; 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) static void spi100k_enable_clock(struct spi_master *master)
{ {
unsigned int val; unsigned int val;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment