]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: comedi: Fix coding style issues in ni_tiocmd.c
authorXenofon Foukas <foukas.xenofon@gmail.com>
Fri, 10 Dec 2010 19:07:25 +0000 (21:07 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 13 Dec 2010 18:25:54 +0000 (10:25 -0800)
commited271e049d4e0bf8c6586c9626964a01d1c62fa2
tree577ebf82e151a70f307f2f1c48fa4e03fcdcad9d
parent448d40140196b33f63a0a3f3f8bcad8f14c9c432
Staging: comedi: Fix coding style issues in ni_tiocmd.c

This patch fixes the following issues in ni_tiocmd.c:

WARNING: braces {} are not necessary for any arm of this statement
WARNING: braces {} are not necessary for single statement blocks
WARNING: printk() should include KERN_ facility level
WARNING: line over 80 characters
__func__ should be used instead of gcc specific __FUNCTION__
ERROR: that open brace { should be on the previous line
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable

Signed-off-by: Xenofon Foukas <foukas.xenofon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_tiocmd.c