Skip to content

hwmon: corsair-cpro: Read negative temperatures and remove magic values

Marius Zachmann linux-hwmon lkml 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Read temperature as a signed value.drivers/hwmon/corsair-cpro.c+2 -21 reply
2/2Replace magic values with constantsdrivers/hwmon/corsair-cpro.c+2 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

- 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(-)
Signature · 1 line
2.51.2