cpufreq: ia64: don't set .driver_data to index
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 28 Mar 2014 13:41:44 +0000 (19:11 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Apr 2014 12:43:49 +0000 (14:43 +0200)
commit1ea7d77b099434916756ac0920a0af6e9a408251
treef8282a966b1ef3c930c1ad1c6adac713da07e993
parent81f359027a3a383cc1dc79499ce97f1074861e5b
cpufreq: ia64: don't set .driver_data to index

.driver_data field is only required to be filled if drivers want to
preserve some data in there which they can use according to the value
of .frequency. But this driver isn't using this field at all, but just
setting it equal to the index value. Which isn't required. Fix it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/ia64-acpi-cpufreq.c