thermal/x86_pkg_temp: Cleanup code some more
authorThomas Gleixner <tglx@linutronix.de>
Tue, 22 Nov 2016 17:57:09 +0000 (17:57 +0000)
committerZhang Rui <rui.zhang@intel.com>
Wed, 30 Nov 2016 02:25:13 +0000 (10:25 +0800)
commit8079a4bdcb0731af1f147cf043227b01b91884a4
tree7cca41227866dd700e7d3d9417de9df7e16e265d
parent3883a64e3811981d3fcaf6621a84cd0fa63f700d
thermal/x86_pkg_temp: Cleanup code some more

Coding style fixups and replacement of overly complex constructs and random
error codes instead of returning the real ones. This mess makes the eyes bleeding.

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