thermal/x86_pkg_temp: Cleanup namespace
authorThomas Gleixner <tglx@linutronix.de>
Tue, 22 Nov 2016 17:57:08 +0000 (17:57 +0000)
committerZhang Rui <rui.zhang@intel.com>
Wed, 30 Nov 2016 02:25:06 +0000 (10:25 +0800)
commit3883a64e3811981d3fcaf6621a84cd0fa63f700d
tree670f533dc4c521c0b9fbe90f0f3069cf4b62ba51
parentb6badbea30bb839624d8bed43e8b7711bc3dd317
thermal/x86_pkg_temp: Cleanup namespace

Any randomly chosen struct name is more descriptive than phy_dev_entry.

Rename the whole thing to struct pkg_device, which describes the content
reasonably well and use the same variable name throughout the code so it
gets readable. Rename the msr struct members as well.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/x86_pkg_temp_thermal.c