summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/smartreflex-class3.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-09-13 11:31:16 -0700
committerTony Lindgren <tony@atomide.com>2014-09-18 09:53:57 -0700
commit3d0cb73e9c85e60206ea9d5191bc0b9a0c4c8a99 (patch)
treeb06e2ea3bec95ac74a78d78623022b09547e4577 /arch/arm/mach-omap2/smartreflex-class3.c
parent175655bd79b815f2b2035f3b44117c60be90e1d4 (diff)
arm: mach-omap2: Convert pr_warning to pr_warn
Use the more common pr_warn. Other miscellanea: o Realign arguments Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/smartreflex-class3.c')
-rw-r--r--arch/arm/mach-omap2/smartreflex-class3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/smartreflex-class3.c b/arch/arm/mach-omap2/smartreflex-class3.c
index 7a42e1960c3b..d3a588cf3a6e 100644
--- a/arch/arm/mach-omap2/smartreflex-class3.c
+++ b/arch/arm/mach-omap2/smartreflex-class3.c
@@ -20,8 +20,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;
}