linux-hardened/drivers/usb/misc/sisusbvga
Peter Senna Tschudin f996c49d4f usb-misc: sisusbvga: Fix coding style: braces, parenthesis, comment
The file drivers/usb/misc/sisusbvga/sisusb.c contained coding style
issues reported by checkpatch. This patch fixes the following
errors:
 - 12 WARNING: braces {} are not necessary for single statement blocks
 - 04 ERROR: return is not a function, parentheses are not required
 - 03 ERROR: do not initialise statics to 0
 - 1 WARNING: else is not generally useful after a break or return
 - 1 WARNING: braces {} are not necessary for any arm of this statement
 - 1 WARNING: Block comments use * on subsequent lines

One case in which braces are not necessary is left unchanged as other
patch of the series will fix it.

Signed-off-by: Peter Senna Tschudin <peter.senna@collabora.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-01-24 21:04:54 -08:00
..
Kconfig console/font: Refactor font support code selection logic 2013-06-23 15:55:16 +02:00
Makefile usb: makefile cleanup 2010-10-22 10:22:07 -07:00
sisusb.c usb-misc: sisusbvga: Fix coding style: braces, parenthesis, comment 2016-01-24 21:04:54 -08:00
sisusb.h USB: sisusbvga: drop usb_buffer_alloc 2009-09-23 06:46:19 -07:00
sisusb_con.c USB: sisusb_con.c: move assignment out of if () block 2015-05-10 16:01:12 +02:00
sisusb_init.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
sisusb_init.h
sisusb_struct.h