Skip to content

Commit db539cb

Browse files
tititiou36thierryreding
authored andcommitted
pwm: Add missing '\n' in log messages
Message logged by 'dev_xxx()' or 'pr_xxx()' should end with a '\n'. Fixes: 3ad1f3a ("pwm: Implement some checks for lowlevel drivers") Signed-off-by: Christophe JAILLET <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 8f3d9f3 commit db539cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pwm/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ static void pwm_apply_state_debug(struct pwm_device *pwm,
537537

538538
if (!state->enabled && s2.enabled && s2.duty_cycle > 0)
539539
dev_warn(chip->dev,
540-
"requested disabled, but yielded enabled with duty > 0");
540+
"requested disabled, but yielded enabled with duty > 0\n");
541541

542542
/* reapply the state that the driver reported being configured. */
543543
err = chip->ops->apply(chip, pwm, &s1);

0 commit comments

Comments
 (0)