mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
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: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
fb1b517fd8
commit
1c9a2ad84f
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user