1
0
Fork 0
alistair23-linux/Documentation/cpu-freq
Viresh Kumar 5070158804 cpufreq: rename index as driver_data in cpufreq_frequency_table
The "index" field of struct cpufreq_frequency_table was never an
index and isn't used at all by the cpufreq core.  It only is useful
for cpufreq drivers for their internal purposes.

Many people nowadays blindly set it in ascending order with the
assumption that the core will use it, which is a mistake.

Rename it to "driver_data" as that's what its purpose is. All of its
users are updated accordingly.

[rjw: Changelog]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-06-04 14:25:59 +02:00
..
amd-powernow.txt
boost.txt acpi-cpufreq: Add support for disabling dynamic overclocking 2012-09-09 22:05:12 +02:00
core.txt [CPUFREQ] Documentation fix 2006-10-15 19:57:10 -04:00
cpu-drivers.txt cpufreq: rename index as driver_data in cpufreq_frequency_table 2013-06-04 14:25:59 +02:00
cpufreq-nforce2.txt Fix typos in /Documentation : Misc 2006-11-30 05:21:10 +01:00
cpufreq-stats.txt misc doc and kconfig typos 2007-05-09 08:58:15 +02:00
governors.txt Merge branch 'timers-nohz-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-05-05 13:23:27 -07:00
index.txt [CPUFREQ] correct broken links and email addresses 2008-10-09 13:52:40 -04:00
pcc-cpufreq.txt [CPUFREQ] Processor Clocking Control interface driver 2010-01-13 10:55:16 -05:00
user-guide.txt cpufreq: Update Documentation for cpus and related_cpus 2013-02-02 00:01:16 +01:00