mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
pwm: Add missing '\n' in log messages
Message logged by 'dev_xxx()' or 'pr_xxx()' should end with a '\n'.
Fixes: 3ad1f3a332
("pwm: Implement some checks for lowlevel drivers")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-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
8f3d9f3542
commit
db539cb928
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ static void pwm_apply_state_debug(struct pwm_device *pwm,
|
|||
|
||||
if (!state->enabled && s2.enabled && s2.duty_cycle > 0)
|
||||
dev_warn(chip->dev,
|
||||
"requested disabled, but yielded enabled with duty > 0");
|
||||
"requested disabled, but yielded enabled with duty > 0\n");
|
||||
|
||||
/* reapply the state that the driver reported being configured. */
|
||||
err = chip->ops->apply(chip, pwm, &s1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue