ACPI / processor: remove cpu_index in acpi_processor_get_info()
authorHanjun Guo <hanjun.guo@linaro.org>
Mon, 11 May 2015 04:17:16 +0000 (12:17 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 13 May 2015 21:28:15 +0000 (23:28 +0200)
commit05eb3cd8b4f2dc5b694bd17b20df5b6aa4ffdae3
treeb9e35a05b0593736c9542a73e638d0692a4445cd
parentc867d83855a6c50ac1a33960c9d50a77ff636f64
ACPI / processor: remove cpu_index in acpi_processor_get_info()

Just use pr->id instead of cpu_index to simplify the code.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_processor.c