diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2018-05-18 16:06:38 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-21 07:44:24 -0400 |
commit | c22d1cb0dcfaf1d9afad9792c796075112a747e7 (patch) | |
tree | f4b6910eafc350b818e6ac6a6af3a396e75d835b | |
parent | f53908680ce4550a28810e967a0dd77176372d6d (diff) |
cpufreq: tegra20: Remove unnecessary parentheses
Remove unnecessary parentheses as suggested by the checkpatch script.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/cpufreq/tegra20-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/tegra20-cpufreq.c b/drivers/cpufreq/tegra20-cpufreq.c index df25e350c8e6..4b85a6733533 100644 --- a/drivers/cpufreq/tegra20-cpufreq.c +++ b/drivers/cpufreq/tegra20-cpufreq.c | |||
@@ -50,7 +50,7 @@ static unsigned int tegra_get_intermediate(struct cpufreq_policy *policy, | |||
50 | * - we are already at it, i.e. policy->cur == ifreq | 50 | * - we are already at it, i.e. policy->cur == ifreq |
51 | * - index corresponds to ifreq | 51 | * - index corresponds to ifreq |
52 | */ | 52 | */ |
53 | if ((freq_table[index].frequency == ifreq) || (policy->cur == ifreq)) | 53 | if (freq_table[index].frequency == ifreq || policy->cur == ifreq) |
54 | return 0; | 54 | return 0; |
55 | 55 | ||
56 | return ifreq; | 56 | return ifreq; |