OSDN Git Service

staging: xgifb: Avoid multiple blank lines
authorRehas Sachdeva <aquannie@gmail.com>
Fri, 26 Feb 2016 12:17:51 +0000 (17:47 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
This patch removes the checkpatch.pl warnings regarding multiple blank
lines as single blank line is the preferred coding style.

Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_def.h
drivers/staging/xgifb/vb_setmode.c
drivers/staging/xgifb/vb_struct.h
drivers/staging/xgifb/vb_table.h

index d9524a2..94e2e3c 100644 (file)
 #define RES1280x960x85       0x46
 #define RES1280x960x120      0x47
 
-
 #define XG27_CR8F 0x0C
 #define XG27_SR36 0x30
 #define XG27_SR40 0x04
index 2078d57..f97c77d 100644 (file)
@@ -5067,7 +5067,6 @@ reg_and_or:
        }
 }
 
-
 void XGI_UnLockCRT2(struct vb_device_info *pVBInfo)
 {
        xgifb_reg_and_or(pVBInfo->Part1Port, 0x2f, 0xFF, 0x01);
index 0d27594..2fd1a59 100644 (file)
@@ -65,7 +65,6 @@ struct XGI330_TVDataTablStruct {
        struct SiS_TVData const *DATAPTR;
 };
 
-
 struct XGI_TimingHStruct {
        unsigned char data[8];
 };
@@ -117,7 +116,6 @@ struct XGI_CRT1TableStruct {
        unsigned char CR[16];
 };
 
-
 struct XGI301C_Tap4TimingStruct {
        unsigned short DE;
        unsigned char  Reg[64];   /* C0-FF */
index f17e5b9..45f2c99 100644 (file)
@@ -1140,7 +1140,6 @@ static const struct SiS_LVDSData XGI_LVDS1024x768Data_1[] = {
        {1344, 806, 1344, 806}  /* 06 (512x384,1024x768) */
 };
 
-
 static const struct SiS_LVDSData XGI_LVDS1024x768Data_2[] = {
        {1344, 806, 1344, 806},
        {1344, 806, 1344, 806},
@@ -1228,7 +1227,6 @@ static const struct SiS_LVDSData XGI_LVDS1024x768Data_1x75[] = {
        {1312, 800, 1312, 800}, /* 06 (512x384,1024x768) */
 };
 
-
 static const struct SiS_LVDSData XGI_LVDS1024x768Data_2x75[] = {
        {1312, 800, 1312, 800}, /* ; 00 (320x200,320x400,640x200,640x400) */
        {1312, 800, 1312, 800}, /* ; 01 (320x350,640x350) */
@@ -2314,7 +2312,6 @@ static const unsigned char TVAntiFlickList[] = {/* NTSCAntiFlicker */
        0x00  /* ; 1 new anti-flicker ? */
 };
 
-
 static const unsigned char TVEdgeList[] = {
        0x00, /* ; 0 NTSC No Edge enhance */
        0x04, /* ; 1 NTSC Adaptive Edge enhance */