summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-07-28 15:32:05 +0000
committerShaun Ruffell <sruffell@digium.com>2010-07-28 15:32:05 +0000
commit20ece953118def36adcd2a77bb5341fe138e3be3 (patch)
tree628d8d0d8b27140dc6b79a63c518f084bd12a578 /drivers/dahdi/wcte12xp
parent34d42184d40e31e601bcee05ec25ca588e9acca1 (diff)
wcte12xp: Trival formatting changes.
Fixing up some of the formatting errors that crept in since the 2.3.0 release. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9040 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp')
-rw-r--r--drivers/dahdi/wcte12xp/base.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c
index 2dd882d..0555d0d 100644
--- a/drivers/dahdi/wcte12xp/base.c
+++ b/drivers/dahdi/wcte12xp/base.c
@@ -658,7 +658,7 @@ static inline int t1_getpins(struct t1 *wc, int inisr)
static void __t1xxp_set_clear(struct t1 *wc)
{
- int i,offset;
+ int i, offset;
int ret;
unsigned short reg[3] = {0, 0, 0};
@@ -1313,13 +1313,13 @@ static int t1xxp_ioctl(struct dahdi_chan *chan, unsigned int cmd, unsigned long
struct t4_regs regs;
unsigned int x;
struct t1 *wc;
-
+
switch (cmd) {
case WCT4_GET_REGS:
wc = chan->pvt;
for (x = 0; x < sizeof(regs.regs) / sizeof(regs.regs[0]); x++)
regs.regs[x] = t1_getreg(wc, x);
-
+
if (copy_to_user((struct t4_regs *) data, &regs, sizeof(regs)))
return -EFAULT;
break;