OpenCloudOS-Kernel/arch/mips/loongson/lemote-2f
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
..
Makefile MIPS: Loongson 2: Sort out clock managment. 2012-08-01 18:10:06 +02:00
clock.c cpufreq: rename index as driver_data in cpufreq_frequency_table 2013-06-04 14:25:59 +02:00
ec_kb3310b.c MIPS: Remove pointless return statement from empty void functions. 2011-07-25 17:26:55 +01:00
ec_kb3310b.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
irq.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
machtype.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
pm.c MIPS: Loongson: Change the Email address of Wu Zhangjin 2010-02-27 12:53:12 +01:00
reset.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00