ARM: OMAP2+: PM: VP: minor pr_warn updates
Subsystems (3)
PATCH v2 1/1 ARM: OMAP2+: PM: VP: minor pr_warn updates
change pr_warnings to pr_warn and ensure a newline is present in all messages
Cc linux-omap at vger.kernel.org
Cc linux-arm-kernel at lists.infradead.org
Signed-off-by Nishanth Menon <[email protected]>
---
V2: minor checkpatch alignment warning fix and linux-omap in cc this time! apologies on the spam!
V1: https://patchwork.kernel.org/patch/1646261/
arch/arm/mach-omap2/vp.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-)
arch/arm/mach-omap2/vp.c +6 -7
@@ -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;
Signature · 1 line
1.7.9.5
PATCH v2 1/1 ARM: OMAP2+: PM: VP: minor pr_warn updates
Quoted 7 lines · Nishanth Menon
change
pr_warningstopr_warnand ensure a newline is present in all messagesSigned-off-by Nishanth Menon <[email protected]>
Thanks queuing for v3.8 as PM cleanup (branch: for_3.8/cleanup/pm.)
Kevin