]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit902f8f4186bdd9e846956d0d65fde79007294339
tree7cca41227866dd700e7d3d9417de9df7e16e265d
parent72e1a097804d6668968a5e8ff86691c150bdaa57
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