diff options
author | Rehas Sachdeva <aquannie@gmail.com> | 2016-02-26 17:47:51 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | c7437f342d19840cf468b23e5588634ad9bed12e (patch) | |
tree | 8b6c7a1223982a0cbd6d6162a021e8b97a84ba9b /drivers/staging/xgifb | |
parent | 9512349356ddc729db6eb03bc91f20afe0a22625 (diff) | |
download | linux-c7437f342d19840cf468b23e5588634ad9bed12e.tar.gz linux-c7437f342d19840cf468b23e5588634ad9bed12e.tar.bz2 linux-c7437f342d19840cf468b23e5588634ad9bed12e.zip |
staging: xgifb: Avoid multiple blank lines
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>
Diffstat (limited to 'drivers/staging/xgifb')
-rw-r--r-- | drivers/staging/xgifb/vb_def.h | 1 | ||||
-rw-r--r-- | drivers/staging/xgifb/vb_setmode.c | 1 | ||||
-rw-r--r-- | drivers/staging/xgifb/vb_struct.h | 2 | ||||
-rw-r--r-- | drivers/staging/xgifb/vb_table.h | 3 |
4 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/xgifb/vb_def.h b/drivers/staging/xgifb/vb_def.h index d9524a2e9ce4..94e2e3c7c264 100644 --- a/drivers/staging/xgifb/vb_def.h +++ b/drivers/staging/xgifb/vb_def.h @@ -228,7 +228,6 @@ #define RES1280x960x85 0x46 #define RES1280x960x120 0x47 - #define XG27_CR8F 0x0C #define XG27_SR36 0x30 #define XG27_SR40 0x04 diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c index 2078d57e97a4..f97c77d88173 100644 --- a/drivers/staging/xgifb/vb_setmode.c +++ b/drivers/staging/xgifb/vb_setmode.c @@ -5067,7 +5067,6 @@ reg_and_or: } } - void XGI_UnLockCRT2(struct vb_device_info *pVBInfo) { xgifb_reg_and_or(pVBInfo->Part1Port, 0x2f, 0xFF, 0x01); diff --git a/drivers/staging/xgifb/vb_struct.h b/drivers/staging/xgifb/vb_struct.h index 0d27594554ca..2fd1a5935e1d 100644 --- a/drivers/staging/xgifb/vb_struct.h +++ b/drivers/staging/xgifb/vb_struct.h @@ -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 */ diff --git a/drivers/staging/xgifb/vb_table.h b/drivers/staging/xgifb/vb_table.h index f17e5b9bd333..45f2c992cd44 100644 --- a/drivers/staging/xgifb/vb_table.h +++ b/drivers/staging/xgifb/vb_table.h @@ -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 */ |