]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72e1a097804d6668968a5e8ff86691c150bdaa57
tree670f533dc4c521c0b9fbe90f0f3069cf4b62ba51
parentd029d4b2a11fc1b7e7f52690e67cb2446e44aaf0
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