diff options
Diffstat (limited to 'arch/arm/mach-tegra/board-kai-panel.c')
-rw-r--r-- | arch/arm/mach-tegra/board-kai-panel.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/board-kai-panel.c b/arch/arm/mach-tegra/board-kai-panel.c index e6ac6dd82846..d98550faf123 100644 --- a/arch/arm/mach-tegra/board-kai-panel.c +++ b/arch/arm/mach-tegra/board-kai-panel.c @@ -618,9 +618,7 @@ static void kai_panel_early_suspend(struct early_suspend *h) fb_blank(registered_fb[1], FB_BLANK_NORMAL); #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 } @@ -628,8 +626,7 @@ static void kai_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++) fb_blank(registered_fb[i], FB_BLANK_UNBLANK); |