summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2019-11-14 12:57:15 -0700
committerTom Rini <[email protected]>2019-12-02 18:23:07 -0500
commitb2ea91ba57a2c3d57ec3d681b4058b115a0d3e51 (patch)
tree44c2fd025d4e7d1fe352866bdfc1a21363191e7c /cmd
parentc3a4d1c3ee1f528a62e0de55ed034fa6d23c0add (diff)
crc: Fix code style with crc functions
Some of these have a space before the bracket. Drop it to fix the style. Add some missing function comments while here. Note that u32 and u8 cannot be used here since crc.h is included on the host side. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/i2c.c b/cmd/i2c.c
index e0f8ece597c..038f97c261b 100644
--- a/cmd/i2c.c
+++ b/cmd/i2c.c
@@ -768,7 +768,7 @@ static int do_i2c_crc (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]
#endif
if (ret)
err++;
- crc = crc32 (crc, &byte, 1);
+ crc = crc32(crc, &byte, 1);
addr++;
}
if (err > 0)