Staging: comedi: Fix checkpatch.pl issues in file s526.c
authorXenofon Foukas <foukas.xenofon@gmail.com>
Wed, 15 Dec 2010 17:44:20 +0000 (19:44 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Dec 2010 20:20:06 +0000 (12:20 -0800)
commitc9c62f4e2c9b526c5cbade3f3a61f126e6587c16
treebb4991ed4863b15d143531985804cbf6c33e3f10
parent3555a4c35e59c0217983f5df0cfe39a9fa65c2df
Staging: comedi: Fix checkpatch.pl issues in file s526.c

This patch fixes the following issues in s526.c:

WARNING: printk() should include KERN_ facility level
WARNING: line over 80 characters
ERROR: do not use C99 // comments
WARNING: space prohibited between function name and open parenthesis '('
WARNING: braces {} are not necessary for any arm of this statement
WARNING: suspect code indent for conditional statements (16, 16)

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