aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/drivers/icp_multi.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-03-16 22:04:12 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:53:54 -0700
commit51b713a684d403bd672b3e4cac55db43dc5cca2d (patch)
treef9aee03162f0eb9f4df4df93bac92f3b15112686 /drivers/staging/comedi/drivers/icp_multi.c
parenta87e4f5a4a7be43e610399ebcbb09ba3da021094 (diff)
Staging: comedi: Misc code cleanups for checkpatch
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/drivers/icp_multi.c')
-rw-r--r--drivers/staging/comedi/drivers/icp_multi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/icp_multi.c b/drivers/staging/comedi/drivers/icp_multi.c
index d474cb2cb7e..9603d9e24d3 100644
--- a/drivers/staging/comedi/drivers/icp_multi.c
+++ b/drivers/staging/comedi/drivers/icp_multi.c
@@ -179,7 +179,7 @@ static comedi_driver driver_icp_multi = {
attach : icp_multi_attach,
detach : icp_multi_detach,
num_names : n_boardtypes,
- board_name:&boardtypes[0].name,
+ board_name : &boardtypes[0].name,
offset : sizeof(boardtype),
};
@@ -947,7 +947,7 @@ static int icp_multi_attach(comedi_device *dev, comedi_devconfig *it)
n_subdevices++;
ret = alloc_subdevices(dev, n_subdevices);
- if ( ret < 0 )
+ if (ret < 0)
return ret;
icp_multi_reset(dev);