Commit 1c9a2ad8 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Thierry Reding

pwm: jz4740: Add trailing \n to error messages

Error messages are supposed to end in \n. Add the line terminator to the
two error messages that lack this.
Suggested-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent fb1b517f
......@@ -149,7 +149,7 @@ static int jz4740_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
*/
rate = clk_round_rate(clk, tmp);
if (rate < 0) {
dev_err(chip->dev, "Unable to round rate: %ld", rate);
dev_err(chip->dev, "Unable to round rate: %ld\n", rate);
return rate;
}
......@@ -170,7 +170,7 @@ static int jz4740_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
err = clk_set_rate(clk, rate);
if (err) {
dev_err(chip->dev, "Unable to set rate: %d", err);
dev_err(chip->dev, "Unable to set rate: %d\n", err);
return err;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment