summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 16:30:39 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-09 13:11:04 +0000
commit1943f3798d7e05c704431cf6602cf8bb86e40898 (patch)
treecd49e41daf5e35667f0387bd3b45aa855e2131e6 /src/device
parent5b66288d51412d48df24e72e9d53b8e90cf4b562 (diff)
{device,drivers,lib,mb,nb}: Use only one space after 'if'
Change-Id: I390191fb58605d1bd6a2e5d19a9dfa7c8493e6b2 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26063 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device.c b/src/device/device.c
index b896f5e683..02209d9e36 100644
--- a/src/device/device.c
+++ b/src/device/device.c
@@ -723,7 +723,7 @@ static void avoid_fixed_resources(const struct device *dev)
if (res->base > lim->base)
lim->base = res->base;
- if (res->limit < lim->limit)
+ if (res->limit < lim->limit)
lim->limit = res->limit;
}