summaryrefslogtreecommitdiff
path: root/src/southbridge/via
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-10-02 12:30:06 +0200
committerMartin Roth <martinroth@google.com>2016-10-07 18:09:06 +0200
commit9344bde4fedfa7caed35aaa45d25c7184edcf4ae (patch)
tree4099099a623d628b4419b57db9eeea101af2ef82 /src/southbridge/via
parent7d87e767b612fc39bfe9cc7dbd1e714dbf6597cf (diff)
downloadcoreboot-9344bde4fedfa7caed35aaa45d25c7184edcf4ae.tar.xz
src/southbridge: Remove unnecessary whitespace
Change-Id: Ibcac5dd60dc7da82bbeeb89ac445a5a1aa56ed3d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16852 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/via')
-rw-r--r--src/southbridge/via/vt8237r/early_smbus.c2
-rw-r--r--src/southbridge/via/vt8237r/lpc.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/via/vt8237r/early_smbus.c b/src/southbridge/via/vt8237r/early_smbus.c
index 23f5928e34..96a5c1b49d 100644
--- a/src/southbridge/via/vt8237r/early_smbus.c
+++ b/src/southbridge/via/vt8237r/early_smbus.c
@@ -347,7 +347,7 @@ int acpi_get_sleep_type(void)
tmp = inw(VT8237R_ACPI_IO_BASE + 0x04);
printk(BIOS_DEBUG, "%02x", tmp);
- return ((tmp & (7 << 10)) >> 10) == 1 ? 3 : 0 ;
+ return ((tmp & (7 << 10)) >> 10) == 1 ? 3 : 0;
}
#if defined(__GNUC__)
diff --git a/src/southbridge/via/vt8237r/lpc.c b/src/southbridge/via/vt8237r/lpc.c
index dd3bcae3fd..9d91749379 100644
--- a/src/southbridge/via/vt8237r/lpc.c
+++ b/src/southbridge/via/vt8237r/lpc.c
@@ -51,7 +51,7 @@ static unsigned char *pin_to_irq(const unsigned char *pin)
{
static unsigned char Irqs[4];
int i;
- for (i = 0 ; i < 4 ; i++)
+ for (i = 0; i < 4; i++)
Irqs[i] = pciIrqs[ pin[i] - 'A' ];
return Irqs;
@@ -253,7 +253,7 @@ static void setup_pm(device_t dev)
int acpi_get_sleep_type(void)
{
u16 tmp = inw(VT8237R_ACPI_IO_BASE + 0x04);
- return ((tmp & (7 << 10)) >> 10) == 1 ? 3 : 0 ;
+ return ((tmp & (7 << 10)) >> 10) == 1 ? 3 : 0;
}
static void vt8237r_init(struct device *dev)