rtc: mpfs: Remove printing of stray CR
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 16 Aug 2022 14:18:25 +0000 (16:18 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 23 Aug 2022 20:17:29 +0000 (22:17 +0200)
commit07ae9278b423500f93e10869b1a50276d82050ec
tree7e9355261c25377c7776b701f867664dfb3c2c50
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
rtc: mpfs: Remove printing of stray CR

During boot, the driver prints out a stray carriage return character.
Remove it, together with the preceding space character.

While at it, change prescaler to "unsigned long", as returned by
clk_get_rate(), to avoid truncating very large clock rates, and update
the format specifiers.

Fixes: 0b31d703598dc199 ("rtc: Add driver for Microchip PolarFire SoC")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/bce2ca405ef96b1363fd1370887409d9e8468422.1660659437.git.geert+renesas@glider.be
drivers/rtc/rtc-mpfs.c