src/drivers: Fix checkpatch warning: no spaces at the start of a line

This excludes files which are mostly spaces, which I felt should be
handled separately.

Change-Id: I33043a3090e2fc6e9d2fd81e8a5e46fb6cb0aa35
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20731
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
This commit is contained in:
Martin Roth
2017-07-23 20:00:04 -06:00
parent e5f2d4c44c
commit b9810a4cd6
18 changed files with 101 additions and 101 deletions

View File

@@ -50,7 +50,7 @@
#define _VSTRUCT_H_
struct SiS_PanelDelayTbl {
unsigned char timer[2];
unsigned char timer[2];
};
struct SiS_LCDData {
@@ -166,7 +166,7 @@ struct SiS_Ext2 {
};
struct SiS_Part2PortTbl {
unsigned char CR[12];
unsigned char CR[12];
};
struct SiS_CRT1Table {

View File

@@ -176,30 +176,30 @@
#define VB_VIDEOBRIDGE (VB_SISBRIDGE | VB_LVDS | VB_CHRONTEL | VB_CONEXANT)
enum _SIS_LCD_TYPE {
LCD_INVALID = 0,
LCD_800x600,
LCD_1024x768,
LCD_1280x1024,
LCD_1280x960,
LCD_640x480,
LCD_1600x1200,
LCD_1920x1440,
LCD_2048x1536,
LCD_320x240, /* FSTN */
LCD_1400x1050,
LCD_1152x864,
LCD_1152x768,
LCD_1280x768,
LCD_1024x600,
LCD_320x240_2, /* DSTN */
LCD_320x240_3, /* DSTN */
LCD_848x480,
LCD_1280x800,
LCD_1680x1050,
LCD_1280x720,
LCD_1280x854,
LCD_CUSTOM,
LCD_UNKNOWN
LCD_INVALID = 0,
LCD_800x600,
LCD_1024x768,
LCD_1280x1024,
LCD_1280x960,
LCD_640x480,
LCD_1600x1200,
LCD_1920x1440,
LCD_2048x1536,
LCD_320x240, /* FSTN */
LCD_1400x1050,
LCD_1152x864,
LCD_1152x768,
LCD_1280x768,
LCD_1024x600,
LCD_320x240_2, /* DSTN */
LCD_320x240_3, /* DSTN */
LCD_848x480,
LCD_1280x800,
LCD_1680x1050,
LCD_1280x720,
LCD_1280x854,
LCD_CUSTOM,
LCD_UNKNOWN
};
/* End code taken from Linux kernel 3.18.5 */

View File

@@ -59,7 +59,7 @@ static struct device_operations xgi_z9s_ops = {
};
static const struct pci_driver xgi_z9s_driver __pci_driver = {
.ops = &xgi_z9s_ops,
.vendor = PCI_VENDOR_ID_XGI,
.device = PCI_DEVICE_ID_XGI_20,
.ops = &xgi_z9s_ops,
.vendor = PCI_VENDOR_ID_XGI,
.device = PCI_DEVICE_ID_XGI_20,
};