Prechádzať zdrojové kódy

Staging:dgap: Fix open brace '{' following struct go on the same line in dgap.h

Fix checkpatch.pl issues with open brace '{'
following struct go on the same line in dgap.h

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Ebru Akagunduz 11 rokov pred
rodič
commit
857eef411c
1 zmenil súbory, kde vykonal 2 pridanie a 4 odobranie
  1. 2 4
      drivers/staging/dgap/dgap.h

+ 2 - 4
drivers/staging/dgap/dgap.h

@@ -591,8 +591,7 @@ enum {
  * A structure to hold a statistics counter.  We also
  * compute moving averages for this counter.
  */
-struct macounter
-{
+struct macounter {
 	u32		cnt;	/* Total count */
 	ulong		accum;	/* Acuumulator per period */
 	ulong		sma;	/* Simple moving average */
@@ -609,8 +608,7 @@ struct macounter
 /*
  *	Per-board information
  */
-struct board_t
-{
+struct board_t {
 	int		magic;		/* Board Magic number.  */
 	int		boardnum;	/* Board number: 0-3 */
 	int		firstminor;	/* First minor, e.g. 0, 30, 60 */