summaryrefslogtreecommitdiff
path: root/src/southbridge/broadcom/bcm5785/smbus.h
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-04-26 19:30:55 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-03 08:28:57 +0000
commitf46810171a58ee974ff8d71e84936eb7df0b47e1 (patch)
tree8cf7ac3e13a2b650e4e07c909081e32c39b4e1d7 /src/southbridge/broadcom/bcm5785/smbus.h
parentf98a5d6a3207653e3e417162b4b7df4866417c92 (diff)
downloadcoreboot-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.h4
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; //
}