summaryrefslogtreecommitdiffstats
path: root/udelay.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-03-27 12:15:09 +0200
committerNico Huber <nico.h@gmx.de>2018-04-24 20:18:58 +0000
commit124ef38f7afc61ad7c713c22aad7c5c7f79bdb9b (patch)
tree980f498681fcc053ec1e591e22bb16afbef0a191 /udelay.c
parent3f7e3419887c6d37330387f8e32c86ba47bdf70c (diff)
downloadflashrom-124ef38f7afc61ad7c713c22aad7c5c7f79bdb9b.tar.gz
flashrom-124ef38f7afc61ad7c713c22aad7c5c7f79bdb9b.tar.bz2
flashrom-124ef38f7afc61ad7c713c22aad7c5c7f79bdb9b.zip
Fix whitespace errors
Change-Id: Ic2d3bb9d8581a0471a8568a130f893b34dddf113 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/25380 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'udelay.c')
-rw-r--r--udelay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udelay.c b/udelay.c
index 3a44c1659..e21086b48 100644
--- a/udelay.c
+++ b/udelay.c
@@ -170,7 +170,7 @@ recalibrate:
/* Avoid division by zero, but in that case the loop is shot anyway. */
if (!timeusec)
timeusec = 1;
-
+
/* Compute rounded up number of loops per microsecond. */
micro = (count * micro) / timeusec + 1;
msg_pdbg("%luM loops per second, ", micro);
@@ -183,7 +183,7 @@ recalibrate:
for (i = 0; i < 4; i++) {
if (resolution && (resolution < 10)) {
timeusec = measure_delay(100);
- } else if (resolution &&
+ } else if (resolution &&
(resolution < ULONG_MAX / 200)) {
timeusec = measure_delay(resolution * 10) *
100 / (resolution * 10);