Message ID | CAKohpo=MS6D9DGiZDUPPYA47c=tqWXUMC6bdssD5xL=7GEcDvw@mail.gmail.com |
---|---|
State | Accepted |
Headers | show |
On 05/14/2013 07:46 AM, Viresh Kumar wrote: ... > This must address your concerns: > @Rafael: I have attached both patches now for you to apply. > > From: Viresh Kumar <viresh.kumar@linaro.org> > Date: Tue, 14 May 2013 19:08:50 +0530 > Subject: [PATCH 1/2] cpufreq: tegra: Remove irrelevant comment > > Tegra cpufreq driver doesn't use .index field of cpufreq_frequency_table and so > comment mentioning order of .index is irrelevant. Remove it. > diff --git a/drivers/cpufreq/tegra-cpufreq.c b/drivers/cpufreq/tegra-cpufreq.c > -/* Frequency table index must be sequential starting at 0 */ > static struct cpufreq_frequency_table freq_table[] = { > { 0, 216000 }, > { 1, 312000 }, Does the .index/.data field even need to be filled in any more?
diff --git a/drivers/cpufreq/tegra-cpufreq.c b/drivers/cpufreq/tegra-cpufreq.c index c74c0e1..293ed2c 100644 --- a/drivers/cpufreq/tegra-cpufreq.c +++ b/drivers/cpufreq/tegra-cpufreq.c @@ -28,7 +28,6 @@ #include <linux/io.h> #include <linux/suspend.h> -/* Frequency table index must be sequential starting at 0 */ static struct cpufreq_frequency_table freq_table[] = { { 0, 216000 }, { 1, 312000 },