提交 30f62902 编写于 作者: D Daniel Cotey 提交者: Greg Kroah-Hartman

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

twelfth chunk of bp_mod.h's cleanup
Signed-off-by: NDaniel Cotey <puff65537@bansheeslibrary.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册