diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-07-28 15:32:05 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-07-28 15:32:05 +0000 |
commit | 64ddf848f7a48139837d15a83b2abe6c6222bec8 (patch) | |
tree | 628d8d0d8b27140dc6b79a63c518f084bd12a578 /drivers/dahdi | |
parent | d8fb76f29727db7307e9c88355eb141c544c593c (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')
-rw-r--r-- | drivers/dahdi/wcte12xp/base.c | 6 |
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, ®s, sizeof(regs))) return -EFAULT; break; |