diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-04-26 19:30:55 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-03 08:28:57 +0000 |
commit | f46810171a58ee974ff8d71e84936eb7df0b47e1 (patch) | |
tree | 8cf7ac3e13a2b650e4e07c909081e32c39b4e1d7 /src/southbridge/broadcom/bcm5785/smbus.h | |
parent | f98a5d6a3207653e3e417162b4b7df4866417c92 (diff) | |
download | coreboot-f46810171a58ee974ff8d71e84936eb7df0b47e1.tar.xz |
southbridge/broadcom: Remove spaces before/after parenthesis
Change-Id: Ic43b5ddaa395658ab7c34cdd004516884a20b005
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/25875
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/southbridge/broadcom/bcm5785/smbus.h')
-rw-r--r-- | src/southbridge/broadcom/bcm5785/smbus.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/broadcom/bcm5785/smbus.h b/src/southbridge/broadcom/bcm5785/smbus.h index 8ebe203523..1c3c9d7dad 100644 --- a/src/southbridge/broadcom/bcm5785/smbus.h +++ b/src/southbridge/broadcom/bcm5785/smbus.h @@ -66,10 +66,10 @@ static int smbus_wait_until_done(unsigned smbus_io_base) val = inb(smbus_io_base + SMBHSTSTAT); val &= 0x1f; // mask off reserved bits - if ( val & 0x1c) { + if (val & 0x1c) { return -5; // error } - if ( val == 0x02) { + if (val == 0x02) { outb(val, smbus_io_base + SMBHSTSTAT); // clear status return 0; // } |