From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nishanth Menon Subject: [PATCH 5/6] ARM: OMAP: SmartReflex: use pr_warn instead of pr_warning Date: Mon, 5 Nov 2012 09:02:13 -0600 Message-ID: <1352127734-30103-7-git-send-email-nm@ti.com> References: <1352127734-30103-1-git-send-email-nm@ti.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1352127734-30103-1-git-send-email-nm@ti.com> Sender: linux-omap-owner@vger.kernel.org To: linux-omap Cc: Rafael , Kevin Hilman , Anton Vorontsov , linux-pm , Nishanth Menon List-Id: linux-pm@vger.kernel.org Minor cleanup to use the preferred pr_warn Acked-by: Jean Pihet Signed-off-by: Nishanth Menon --- arch/arm/mach-omap2/smartreflex-class3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex-class3.c b/arch/arm/mach-omap2/smartreflex-class3.c index 7ccf57f..23d45f9 100644 --- a/arch/arm/mach-omap2/smartreflex-class3.c +++ b/arch/arm/mach-omap2/smartreflex-class3.c @@ -18,8 +18,8 @@ static int sr_class3_enable(struct omap_sr *sr) unsigned long volt = voltdm_get_voltage(sr->voltdm); if (!volt) { - pr_warning("%s: Curr voltage unknown. Cannot enable %s\n", - __func__, sr->name); + pr_warn("%s: Curr voltage unknown. Cannot enable %s\n", + __func__, sr->name); return -ENODATA; } if (!sr->soc_ops.vp_enable) { -- 1.7.9.5