diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-14 00:36:22 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 21:52:16 (GMT) |
commit | e0dcef71f6ea63f80631d2e87d06a9ae05624eef (patch) | |
tree | 2e4ae57567f823557435c4473e8bdebf29efd8b2 /drivers/staging/comedi/comedi_compat32.h | |
parent | ed9eccbe8970f6eedc1b978c157caf1251a896d4 (diff) | |
download | linux-e0dcef71f6ea63f80631d2e87d06a9ae05624eef.tar.xz |
Staging: comedi: fix up a lot of checkpatch.pl warnings
Only clean up some of the easier ones in the .h files
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: David Schleef <ds@schleef.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/comedi_compat32.h')
-rw-r--r-- | drivers/staging/comedi/comedi_compat32.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/comedi_compat32.h b/drivers/staging/comedi/comedi_compat32.h index 198aea5..0ca0164 100644 --- a/drivers/staging/comedi/comedi_compat32.h +++ b/drivers/staging/comedi/comedi_compat32.h @@ -36,8 +36,8 @@ extern long comedi_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg); -#define comedi_register_ioctl32() do{}while(0) -#define comedi_unregister_ioctl32() do{}while(0) +#define comedi_register_ioctl32() do {} while (0) +#define comedi_unregister_ioctl32() do {} while (0) #else /* HAVE_COMPAT_IOCTL */ @@ -50,8 +50,8 @@ extern void comedi_unregister_ioctl32(void); #else /* CONFIG_COMPAT */ #define comedi_compat_ioctl 0 /* NULL */ -#define comedi_register_ioctl32() do{}while(0) -#define comedi_unregister_ioctl32() do{}while(0) +#define comedi_register_ioctl32() do {} while (0) +#define comedi_unregister_ioctl32() do {} while (0) #endif /* CONFIG_COMPAT */ |