Skip to content

Commit

Permalink
Merge branch 'pm-cpufreq'
Browse files Browse the repository at this point in the history
* pm-cpufreq:
  cpufreq: exynos: Remove unwanted EXPORT_SYMBOL
  cpufreq: tegra: don't error target() when suspended
  • Loading branch information
Rafael J. Wysocki committed Nov 27, 2013
2 parents 2d304ba + 3d3c6f5 commit db8fbb4
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion drivers/cpufreq/exynos4210-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,3 @@ int exynos4210_cpufreq_init(struct exynos_dvfs_info *info)
pr_debug("%s: failed initialization\n", __func__);
return -EINVAL;
}
EXPORT_SYMBOL(exynos4210_cpufreq_init);
1 change: 0 additions & 1 deletion drivers/cpufreq/exynos4x12-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,3 @@ int exynos4x12_cpufreq_init(struct exynos_dvfs_info *info)
pr_debug("%s: failed initialization\n", __func__);
return -EINVAL;
}
EXPORT_SYMBOL(exynos4x12_cpufreq_init);
1 change: 0 additions & 1 deletion drivers/cpufreq/exynos5250-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,3 @@ int exynos5250_cpufreq_init(struct exynos_dvfs_info *info)
pr_err("%s: failed initialization\n", __func__);
return -EINVAL;
}
EXPORT_SYMBOL(exynos5250_cpufreq_init);
4 changes: 1 addition & 3 deletions drivers/cpufreq/tegra-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,8 @@ static int tegra_target(struct cpufreq_policy *policy, unsigned int index)

mutex_lock(&tegra_cpu_lock);

if (is_suspended) {
ret = -EBUSY;
if (is_suspended)
goto out;
}

freq = freq_table[index].frequency;

Expand Down

0 comments on commit db8fbb4

Please sign in to comment.