Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583153

[PATCH 14/35] clocksource: Convert remaining use of pr_warning to pr_warn

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject [PATCH 14/35] clocksource: Convert remaining use of pr_warning to pr_warn
Date 2017-02-17 08:20 +0100
Message-ID <tbKZK-176-73@gated-at.bofh.it> (permalink)
References <tbKZH-176-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@perches.com>
---
 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 14/35] clocksource: Convert remaining use of pr_warning to pr_warn Joe Perches <joe@perches.com> - 2017-02-17 08:20 +0100

csiph-web