Commit 30f62902 authored by Daniel Cotey's avatar Daniel Cotey Committed by Greg Kroah-Hartman

Staging: silicom: bp_mod.h: checkpatch tab and space cleanup

twelfth chunk of bp_mod.h's cleanup
Signed-off-by: default avatarDaniel Cotey <puff65537@bansheeslibrary.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d5b4f42f
......@@ -535,13 +535,13 @@ static inline unsigned int jiffies_to_msecs(const unsigned long j)
(writel((value), (void *)(((a)->mem_map) + BPCTLI_##reg)))
#define BPCTL_READ_REG(a, reg) ( \
readl((void *)((a)->mem_map) + BPCTLI_##reg))
readl((void *)((a)->mem_map) + BPCTLI_##reg))
#define BPCTL_WRITE_FLUSH(a) BPCTL_READ_REG(a, STATUS)
#define BPCTL_BP_WRITE_REG(a, reg, value) ({ \
BPCTL_WRITE_REG(a, reg, value); \
BPCTL_WRITE_FLUSH(a);})
BPCTL_WRITE_REG(a, reg, value); \
BPCTL_WRITE_FLUSH(a); })
/**************************************************************/
/************** 82575 Interface********************************/
......@@ -645,7 +645,7 @@ static inline unsigned int jiffies_to_msecs(const unsigned long j)
(writel((value), (void *)(((a)->mem_map) + BP10G_##reg)))
#define BP10G_READ_REG(a, reg) ( \
readl((void *)((a)->mem_map) + BP10G_##reg))
readl((void *)((a)->mem_map) + BP10G_##reg))
/*****BROADCOM*******************************************/
......@@ -697,7 +697,7 @@ static inline unsigned int jiffies_to_msecs(const unsigned long j)
(writel((value), (void *)(((a)->mem_map) + BP10GB_##reg)))
#define BP10GB_READ_REG(a, reg) ( \
readl((void *)((a)->mem_map) + BP10GB_##reg))
readl((void *)((a)->mem_map) + BP10GB_##reg))
#endif
......
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