mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 01:24:33 +00:00
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>
This commit is contained in:
parent
38dbfb59d1
commit
d655bbbd5b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user