[PATCH 0/2] hwmon: corsair-cpro: Read negative temperatures and remove magic values

Marius Zachmann posted 2 patches 2 months, 3 weeks ago
drivers/hwmon/corsair-cpro.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[PATCH 0/2] hwmon: corsair-cpro: Read negative temperatures and remove magic values
Posted by Marius Zachmann 2 months, 3 weeks ago
- The Commander Pro also allows reading negative temperatures.
  Adds a conversion to read it correctly.

- Replace two of the magic values in the ccp_device struct
  with constants.

Marius Zachmann (2):
  Read temperature as a signed value.
  Replace magic values with constants

 drivers/hwmon/corsair-cpro.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.51.2