southbridge/nvidia: Remove spaces before/after parenthesis

Change-Id: I94a87d631c9336b861523592ff217fe823436b36
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/25879
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Elyes HAOUAS 2018-04-26 22:16:42 +02:00 committed by Felix Held
parent 6c48618597
commit 64e091fc8a
4 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ Method (SRSA, 1, Serialized) {
/* set "B", external (PCI) APIC interrupts */
Name (PRSB, ResourceTemplate () {
Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, ) {
Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,,) {
16, 17, 18, 19,
}
})
@ -93,7 +93,7 @@ Method (SRSB, 1, Serialized) {
/* set "C", southbridge APIC interrupts */
Name (PRSC, ResourceTemplate () {
Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, ) {
Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,,) {
20, 21, 22, 23,
}
})

View File

@ -83,7 +83,7 @@ static void mcp55_early_set_port(unsigned mcp55_num, unsigned *busn,
};
int j;
for (j = 0; j < mcp55_num; j++ ) {
for (j = 0; j < mcp55_num; j++) {
setup_resource_map_offset(ctrl_devport_conf,
ARRAY_SIZE(ctrl_devport_conf),
PCI_DEV(busn[j], devn[j], 0) , io_base[j]);
@ -100,7 +100,7 @@ static void mcp55_early_clear_port(unsigned mcp55_num, unsigned *busn,
};
int j;
for (j = 0; j < mcp55_num; j++ ) {
for (j = 0; j < mcp55_num; j++) {
setup_resource_map_offset(ctrl_devport_conf_clear,
ARRAY_SIZE(ctrl_devport_conf_clear),
PCI_DEV(busn[j], devn[j], 0) , io_base[j]);

View File

@ -131,7 +131,7 @@ static void lpc_init(device_t dev)
if (nmi_option)
byte &= ~(1 << 7); /* Set NMI. */
else
byte |= ( 1 << 7); /* Can't mask NMI from PCI-E and NMI_NOW. */
byte |= (1 << 7); /* Can't mask NMI from PCI-E and NMI_NOW. */
if (byte != byte_old)
outb(byte, 0x70);

View File

@ -45,7 +45,7 @@ static int smbus_wait_until_done(unsigned smbus_io_base)
smbus_delay();
val = inb(smbus_io_base + SMBHSTSTAT);
if ( (val & 0xff) != 0) {
if ((val & 0xff) != 0) {
return 0;
}
} while (--loops);