mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] hwmon: corsair-cpro: Read negative temperatures and remove magic values
@ 2025-11-13 10:00 Marius Zachmann
  2025-11-13 10:00 ` [PATCH 1/2] Read temperature as a signed value Marius Zachmann
  2025-11-13 10:00 ` [PATCH 2/2] Replace magic values with constants Marius Zachmann
  0 siblings, 2 replies; 5+ messages in thread
From: Marius Zachmann @ 2025-11-13 10:00 UTC (permalink / raw)
  To: linux; +Cc: mail, linux-hwmon, linux-kernel

- 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-11-13 20:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-13 10:00 [PATCH 0/2] hwmon: corsair-cpro: Read negative temperatures and remove magic values Marius Zachmann
2025-11-13 10:00 ` [PATCH 1/2] Read temperature as a signed value Marius Zachmann
2025-11-13 20:19   ` Guenter Roeck
2025-11-13 10:00 ` [PATCH 2/2] Replace magic values with constants Marius Zachmann
2025-11-13 20:22   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®