diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-06-08 12:00:49 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-08 14:42:44 +0200 |
commit | 9ec8ade812240f3ef553b5e8bfc74deec3f14339 (patch) | |
tree | bd30f7f69644f34d2d27cb2861ed15f7aa9acbc5 /drivers/spi/spi-rspi.c | |
parent | spi: sprd: switch the sequence of setting WDG_LOAD_LOW and _HIGH (diff) | |
download | linux-9ec8ade812240f3ef553b5e8bfc74deec3f14339.tar.xz linux-9ec8ade812240f3ef553b5e8bfc74deec3f14339.zip |
spi: spidev_test: Use %u to format unsigned numbers
Consistently use %u to format unsigned numbers.
For "bits" this doesn't matter that much, as it is "uint8_t".
However, "speed" is "uint32_t", so in case people use "-s -1" to force
the maximum, they would see:
max speed: -1 Hz (4294967 KHz)
While at it, use "k" (kilo) instead of "K" (kelvin) in "kHz".
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200608100049.30648-1-geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-rspi.c')
0 files changed, 0 insertions, 0 deletions