intel-pstate: Use #defines instead of hard-coded values.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 20 Mar 2013 14:21:10 +0000 (14:21 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Mar 2013 14:13:07 +0000 (15:13 +0100)
commit05e99c8cf9d4e53ef6e016815db40a89a6156529
tree4c69dc3f28bb20711aa679693d002fc3d6a3d5cc
parente6f3eb29be471c4b536a91daab76d4aeda72a261
intel-pstate: Use #defines instead of hard-coded values.

They are defined in coreboot (MSR_PLATFORM) and the other
one is already defined in msr-index.h.

Let's use those.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/include/uapi/asm/msr-index.h
drivers/cpufreq/intel_pstate.c