From b9810a4cd6ec082eaab476540324ae927cae1b53 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 23 Jul 2017 20:00:04 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/20731 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Werner Zeh --- src/drivers/xgi/common/vstruct.h | 4 +-- src/drivers/xgi/common/xgi_coreboot.h | 48 +++++++++++++++++------------------ src/drivers/xgi/z9s/z9s.c | 6 ++--- 3 files changed, 29 insertions(+), 29 deletions(-) (limited to 'src/drivers/xgi') diff --git a/src/drivers/xgi/common/vstruct.h b/src/drivers/xgi/common/vstruct.h index 8172b9fe98..d14a18292a 100644 --- a/src/drivers/xgi/common/vstruct.h +++ b/src/drivers/xgi/common/vstruct.h @@ -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 { diff --git a/src/drivers/xgi/common/xgi_coreboot.h b/src/drivers/xgi/common/xgi_coreboot.h index dd5178219c..b9332e8126 100644 --- a/src/drivers/xgi/common/xgi_coreboot.h +++ b/src/drivers/xgi/common/xgi_coreboot.h @@ -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 */ diff --git a/src/drivers/xgi/z9s/z9s.c b/src/drivers/xgi/z9s/z9s.c index 4c1e44a828..dc4fd3cf19 100644 --- a/src/drivers/xgi/z9s/z9s.c +++ b/src/drivers/xgi/z9s/z9s.c @@ -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, }; -- cgit v1.2.3