summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-whistler-panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/board-whistler-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-whistler-panel.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/board-whistler-panel.c b/arch/arm/mach-tegra/board-whistler-panel.c
index 3510f9468394..df8b2859e81c 100644
--- a/arch/arm/mach-tegra/board-whistler-panel.c
+++ b/arch/arm/mach-tegra/board-whistler-panel.c
@@ -320,9 +320,7 @@ static void whistler_panel_early_suspend(struct early_suspend *h)
#ifdef CONFIG_TEGRA_CONVSERVATIVE_GOV_ON_EARLYSUPSEND
cpufreq_store_default_gov();
- if (cpufreq_change_gov(cpufreq_conservative_gov))
- pr_err("Early_suspend: Error changing governor to %s\n",
- cpufreq_conservative_gov);
+ cpufreq_change_gov(cpufreq_conservative_gov);
#endif
}
@@ -331,8 +329,7 @@ static void whistler_panel_late_resume(struct early_suspend *h)
unsigned i;
#ifdef CONFIG_TEGRA_CONVSERVATIVE_GOV_ON_EARLYSUPSEND
- if (cpufreq_restore_default_gov())
- pr_err("Early_suspend: Unable to restore governor\n");
+ cpufreq_restore_default_gov();
#endif
for (i = 0; i < num_registered_fb; i++)