diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-03-17 02:03:45 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 21:53:54 (GMT) |
commit | 6a98d36e87a0b38d711d580b5fc9dbba17f68dfc (patch) | |
tree | a83758de233635fe916c6babc6cab9eb040aaf5b /drivers/staging/comedi/kcomedilib | |
parent | f7266a48a10d76ff512d5eb44aa18364ee203da4 (diff) | |
download | linux-fsl-qoriq-6a98d36e87a0b38d711d580b5fc9dbba17f68dfc.tar.xz |
Staging: comedi: Add spaces around parens as requested by checkpatch.pl
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/kcomedilib')
-rw-r--r-- | drivers/staging/comedi/kcomedilib/kcomedilib_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/kcomedilib/kcomedilib_main.c b/drivers/staging/comedi/kcomedilib/kcomedilib_main.c index e758e4e..7133f2f 100644 --- a/drivers/staging/comedi/kcomedilib/kcomedilib_main.c +++ b/drivers/staging/comedi/kcomedilib/kcomedilib_main.c @@ -57,11 +57,11 @@ comedi_t *comedi_open(const char *filename) return NULL; dev_file_info = comedi_get_device_file_info(minor); - if(dev_file_info == NULL) + if (dev_file_info == NULL) return NULL; dev = dev_file_info->device; - if(dev == NULL || !dev->attached) + if (dev == NULL || !dev->attached) return NULL; if (!try_module_get(dev->driver->module)) @@ -79,11 +79,11 @@ comedi_t *comedi_open_old(unsigned int minor) return NULL; dev_file_info = comedi_get_device_file_info(minor); - if(dev_file_info == NULL) + if (dev_file_info == NULL) return NULL; dev = dev_file_info->device; - if(dev == NULL || !dev->attached) + if (dev == NULL || !dev->attached) return NULL; return (comedi_t *) dev; |