[PATCH 14/35] clocksource: Convert remaining use of pr_warning to pr_warn
From: Joe Perches
Date: Fri Feb 17 2017 - 02:18:18 EST
To enable eventual removal of pr_warning
This makes pr_warn use consistent for drivers/clocksource
Prior to this patch, there was 1 use of pr_warning and
34 uses of pr_warn in drivers/clocksource
Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
drivers/clocksource/samsung_pwm_timer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clocksource/samsung_pwm_timer.c b/drivers/clocksource/samsung_pwm_timer.c
index 0093ece661fe..fa4c6ddc7d95 100644
--- a/drivers/clocksource/samsung_pwm_timer.c
+++ b/drivers/clocksource/samsung_pwm_timer.c
@@ -433,8 +433,8 @@ 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;
--
2.10.0.rc2.1.g053435c