Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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;