diff options
author | Kefeng Wang <[email protected]> | 2019-10-18 11:18:28 +0800 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2019-10-18 15:00:20 +0200 |
commit | 43fc6b252a1d10be7acbc3d49b97a28765c17ebd (patch) | |
tree | 40fde8a94aeb5b7989d5578931b968081f03baae | |
parent | f8b489980d9427244555dadd9186a76944c1b7d6 (diff) |
clocksource: samsung_pwm_timer: Use pr_warn instead of pr_warning
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of
pr_warning"), removing pr_warning so all logging messages use a
consistent <prefix>_warn style. Let's do it.
Link: http://lkml.kernel.org/r/[email protected]
To: [email protected]
Signed-off-by: Kefeng Wang <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
[[email protected]: Fixed indentation]
Signed-off-by: Petr Mladek <[email protected]>
-rw-r--r-- | drivers/clocksource/samsung_pwm_timer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clocksource/samsung_pwm_timer.c b/drivers/clocksource/samsung_pwm_timer.c index 895f53eb5771..dae1b2b5a0c5 100644 --- a/drivers/clocksource/samsung_pwm_timer.c +++ b/drivers/clocksource/samsung_pwm_timer.c @@ -430,8 +430,7 @@ static int __init samsung_pwm_alloc(struct device_node *np, of_property_for_each_u32(np, "samsung,pwm-outputs", prop, cur, val) { if (val >= SAMSUNG_PWM_NUM) { - pr_warning("%s: invalid channel index in samsung,pwm-outputs property\n", - __func__); + pr_warn("%s: invalid channel index in samsung,pwm-outputs property\n", __func__); continue; } pwm.variant.output_mask |= 1 << val; |