]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: OMAP2+: PM: VP: minor pr_warn updates
authorNishanth Menon <nm@ti.com>
Thu, 25 Oct 2012 18:37:16 +0000 (13:37 -0500)
committerKevin Hilman <khilman@ti.com>
Thu, 25 Oct 2012 21:32:34 +0000 (14:32 -0700)
change pr_warnings to pr_warn and ensure a newline
is present in all messages

Cc: linux-omap@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/vp.c

index 85241b828c029e45b2f494925af3a3296cd92982..6e9fe8574315055a02720cc39ed6cb3937179771 100644 (file)
@@ -138,7 +138,7 @@ int omap_vp_forceupdate_scale(struct voltagedomain *voltdm,
                udelay(1);
        }
        if (timeout >= VP_TRANXDONE_TIMEOUT) {
-               pr_warn("%s: vdd_%s TRANXDONE timeout exceeded. Voltage change aborted",
+               pr_warn("%s: vdd_%s TRANXDONE timeout exceeded. Voltage change aborted\n",
                        __func__, voltdm->name);
                return -ETIMEDOUT;
        }
@@ -197,7 +197,7 @@ void omap_vp_enable(struct voltagedomain *voltdm)
        u32 vpconfig, volt;
 
        if (!voltdm || IS_ERR(voltdm)) {
-               pr_warning("%s: VDD specified does not exist!\n", __func__);
+               pr_warn("%s: VDD specified does not exist!\n", __func__);
                return;
        }
 
@@ -214,8 +214,8 @@ void omap_vp_enable(struct voltagedomain *voltdm)
 
        volt = voltdm_get_voltage(voltdm);
        if (!volt) {
-               pr_warning("%s: unable to find current voltage for %s\n",
-                          __func__, voltdm->name);
+               pr_warn("%s: unable to find current voltage for %s\n",
+                       __func__, voltdm->name);
                return;
        }
 
@@ -242,7 +242,7 @@ void omap_vp_disable(struct voltagedomain *voltdm)
        int timeout;
 
        if (!voltdm || IS_ERR(voltdm)) {
-               pr_warning("%s: VDD specified does not exist!\n", __func__);
+               pr_warn("%s: VDD specified does not exist!\n", __func__);
                return;
        }
 
@@ -272,8 +272,7 @@ void omap_vp_disable(struct voltagedomain *voltdm)
                          VP_IDLE_TIMEOUT, timeout);
 
        if (timeout >= VP_IDLE_TIMEOUT)
-               pr_warning("%s: vdd_%s idle timedout\n",
-                       __func__, voltdm->name);
+               pr_warn("%s: vdd_%s idle timedout\n", __func__, voltdm->name);
 
        vp->enabled = false;