diff options
author | Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> | 2011-01-31 11:35:25 -0200 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-03-09 16:15:49 -0800 |
commit | e16b41bfd5efaa1f9521449f1f0e341ebec73398 (patch) | |
tree | 3f7eec4728e7fc6afd779777aa6972733515e0b8 /arch/arm/mach-omap2/pm34xx.c | |
parent | 126f7e2992760028005ce94509ce54d331c6714d (diff) | |
download | linux-e16b41bfd5efaa1f9521449f1f0e341ebec73398.tar.bz2 |
OMAP3630: PM: don't warn the user with a trace in case of PM34XX_ERRATUM
In case in user has a OMAP3630 < ES1.2 the kernel should warn the user
about the ERRATUM, but using pr_warn instead of WARN_ON is already
enough, as there is nothing else the user can do besides changing the
board.
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 2f864e4b085d..6ade4eaca922 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -928,8 +928,7 @@ void omap3_pm_off_mode_enable(int enable) pwrst->pwrdm == core_pwrdm && state == PWRDM_POWER_OFF) { pwrst->next_state = PWRDM_POWER_RET; - WARN_ONCE(1, - "%s: Core OFF disabled due to errata i583\n", + pr_warn("%s: Core OFF disabled due to errata i583\n", __func__); } else { pwrst->next_state = state; |