summaryrefslogtreecommitdiffstats
path: root/drivers/net/bna/bnad_ethtool.c
diff options
context:
space:
mode:
authorRasesh Mody <rmody@brocade.com>2011-07-22 08:07:41 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-22 17:01:13 -0700
commit0120b99c8d56b5d3f2d80aaf8769dea05ef80439 (patch)
treef84a39e981e314f26f32a67925a22421aa979acd /drivers/net/bna/bnad_ethtool.c
parent5aad00118fe8bc741725557372cd185d1ee1f248 (diff)
downloadblackbird-op-linux-0120b99c8d56b5d3f2d80aaf8769dea05ef80439.tar.gz
blackbird-op-linux-0120b99c8d56b5d3f2d80aaf8769dea05ef80439.zip
bna: CheckPatch Cleanup
Change details: - Driver cleanup as per new checkpatch v0.31 Signed-off-by: Rasesh Mody <rmody@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bna/bnad_ethtool.c')
-rw-r--r--drivers/net/bna/bnad_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bna/bnad_ethtool.c b/drivers/net/bna/bnad_ethtool.c
index 3330cd78da2c..fea07f19a5db 100644
--- a/drivers/net/bna/bnad_ethtool.c
+++ b/drivers/net/bna/bnad_ethtool.c
@@ -295,7 +295,7 @@ get_regs(struct bnad *bnad, u32 * regs)
u32 reg_addr;
unsigned long flags;
-#define BNAD_GET_REG(addr) \
+#define BNAD_GET_REG(addr) \
do { \
if (regs) \
regs[num++] = readl(bnad->bar0 + (addr)); \
OpenPOWER on IntegriCloud