diff options
author | 2019-09-27 23:22:32 +0300 | |
---|---|---|
committer | 2019-11-09 14:40:48 +0530 | |
commit | d532c28b8c151cdb5b50280801c748ac4d93d563 (patch) | |
tree | 09b8c8a93af3559894368acfdb50171c67432476 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.4-rc1 (diff) | |
download | linux-rng-d532c28b8c151cdb5b50280801c748ac4d93d563.tar.xz linux-rng-d532c28b8c151cdb5b50280801c748ac4d93d563.zip |
mtd: cfi_util: use DIV_ROUND_UP() in cfi_udelay()
Use DIV_ROUND_UP() in cfi_udelay() instead of open-coding it...
Doing this also helpfully gets rid of two complaints from
'scripts/checkpatch.pl --strict':
CHECK: spaces preferred around that '+' (ctx:VxV)
#29: FILE: drivers/mtd/chips/cfi_util.c:29:
+ msleep((us+999)/1000);
^
CHECK: spaces preferred around that '/' (ctx:VxV)
#29: FILE: drivers/mtd/chips/cfi_util.c:29:
+ msleep((us+999)/1000);
^
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions