Patchwork [17/26] drivers/rtc/rtc-msm6242.c: Use pr_warn

login
register
mail settings
Submitter Sachin Kamat
Date May 3, 2013, 6:21 a.m.
Message ID <1367562076-25713-18-git-send-email-sachin.kamat@linaro.org>
Download mbox | patch
Permalink /patch/241193/
State New
Headers show

Comments

Sachin Kamat - May 3, 2013, 6:21 a.m.
pr_warn is preferred to pr_warning.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/rtc/rtc-msm6242.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/drivers/rtc/rtc-msm6242.c b/drivers/rtc/rtc-msm6242.c
index 771f86a..f0e9893 100644
--- a/drivers/rtc/rtc-msm6242.c
+++ b/drivers/rtc/rtc-msm6242.c
@@ -111,8 +111,8 @@  static void msm6242_lock(struct msm6242_priv *priv)
 	}
 
 	if (!cnt)
-		pr_warning("msm6242: timed out waiting for RTC (0x%x)\n",
-			   msm6242_read(priv, MSM6242_CD));
+		pr_warn("msm6242: timed out waiting for RTC (0x%x)\n",
+			msm6242_read(priv, MSM6242_CD));
 }
 
 static void msm6242_unlock(struct msm6242_priv *priv)