projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38dbfb5
)
spi: omap-100k: Remove unused MOD_REG_BIT macro
author
Axel Lin
<axel.lin@ingics.com>
Sat, 8 Feb 2014 14:46:02 +0000
(22:46 +0800)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-omap-100k.c
b/drivers/spi/spi-omap-100k.c
index 0d32054bfc0dd624c1d99ec37f47f6c8244b3ab2..657184a4644cc525c3bdde8f9a77ce7cafab7232 100644
(file)
--- 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;