clocksource/drivers/davinci: Avoid trailing '\n' hidden in pr_fmt()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 9 Apr 2020 09:25:43 +0000 (11:25 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 9 Apr 2020 09:41:20 +0000 (11:41 +0200)
commitbdf8783c0dae9d3d8fc1c4078fe849ab8aa8b583
tree9ea4262bc41303d4651ad199f2c3ebf3df7f0d56
parent4479730e9263befbb9ce9563a09563db2acb8f7c
clocksource/drivers/davinci: Avoid trailing '\n' hidden in pr_fmt()

pr_xxx() functions usually have '\n' at the end of the logging message.
Here, this '\n' is added via the 'pr_fmt' macro.

In order to be more consistent with other files, use a more standard
convention and put these '\n' back in the messages themselves and remove it
from the pr_fmt macro.

While at it, remove a useless message in case of 'kzalloc' failure,
especially with a __GFP_NOFAIL flag.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200409092543.14727-1-christophe.jaillet@wanadoo.fr
drivers/clocksource/timer-davinci.c