diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:10 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 21:19:23 -0400 |
commit | 07e1114671c8b13d1bb90548a3c5ea31c49415d1 (patch) | |
tree | d64c8a76ebfe729975a5b5a9e0b9f56bfdec01fb /drivers/fpga/stratixII.c | |
parent | 1af3c7f422f627a544fec13e436d1a7975e39e73 (diff) | |
download | u-boot-07e1114671c8b13d1bb90548a3c5ea31c49415d1.tar.gz |
Fix some checkpatch warnings in calls to udelay()
Fix up some incorrect code style in calls to functions in the linux/time.h
header, mostly udelay().
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/fpga/stratixII.c')
-rw-r--r-- | drivers/fpga/stratixII.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/fpga/stratixII.c b/drivers/fpga/stratixII.c index 12d8dd19bf..4edbfe4ba8 100644 --- a/drivers/fpga/stratixII.c +++ b/drivers/fpga/stratixII.c @@ -116,9 +116,9 @@ int StratixII_ps_fpp_load (Altera_desc * desc, void *buf, size_t bsize, /* 2. Strat burn cycle by deasserting config for t_CFG and waiting t_CF2CK after reaserted */ fns->config (0, 1, cookie); - udelay (5); /* nCONFIG low pulse width 2usec */ + udelay(5); /* nCONFIG low pulse width 2usec */ fns->config (1, 1, cookie); - udelay (100); /* nCONFIG high to first rising edge on DCLK */ + udelay(100); /* nCONFIG high to first rising edge on DCLK */ /* 3. Start the Data cycle with clk deasserted */ bytecount = 0; @@ -168,7 +168,7 @@ int StratixII_ps_fpp_load (Altera_desc * desc, void *buf, size_t bsize, /* 4. Set one last clock and check conf done signal */ fns->clk (1, 1, cookie); - udelay (100); + udelay(100); if (!fns->done (cookie)) { printf (" error!.\n"); fns->abort (cookie); |