]> git.sur5r.net Git - groeck-it87/commit
Simplify and fix temperature sensor type detection v1.0
authorGuenter Roeck <linux@roeck-us.net>
Thu, 21 Sep 2017 23:17:53 +0000 (16:17 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 21 Sep 2017 23:21:28 +0000 (16:21 -0700)
commit59ea85eb83d64e6a073619b3f96ea0ce4e3a7b12
treefbc748591c203aa4c6fc400b5a276f33397724cd
parent0e859b57439c8cbf123102d7d49c44258c050a92
Simplify and fix temperature sensor type detection

Temperature sensor types won't change, so we only need to read it once.
Also fix temperature register calculation.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
it87.c