[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1418073781-10237-1-git-send-email-dbancajas@gmail.com>
Date: Mon, 8 Dec 2014 14:23:01 -0700
From: Dean Michael Ancajas <dbancajas@...il.com>
To: marek.belisko@...il.com
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Dean Michael Ancajas <dbancajas@...il.com>
Subject: [PATCH] Staging: ft1000: ft1000-pcmcia: Fixed a coding style issue
Fixed a coding style issue for braces.
Signed-off-by: Dean Michael Ancajas <dbancajas@...il.com>
---
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
index 44575c7..45960b2 100644
--- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
+++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
@@ -176,11 +176,11 @@ u16 ft1000_read_dpram_mag_16(struct net_device *dev, int offset, int Index)
spin_lock_irqsave(&info->dpram_lock, flags);
ft1000_write_reg(dev, FT1000_REG_DPRAM_ADDR, offset);
/* check if we want to read upper or lower 32-bit word */
- if (Index) {
+ if (Index)
data = ft1000_read_reg(dev, FT1000_REG_MAG_DPDATAL);
- } else {
+ else
data = ft1000_read_reg(dev, FT1000_REG_MAG_DPDATAH);
- }
+
spin_unlock_irqrestore(&info->dpram_lock, flags);
return data;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists