hwmon: (aquacomputer_d5next) Check if temp sensors of legacy devices are connected
authorAleksa Savic <savicaleksa83@gmail.com>
Mon, 16 Oct 2023 08:35:57 +0000 (10:35 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 30 Oct 2023 05:22:48 +0000 (22:22 -0700)
commit0f564130e5c76f1e5cf0008924f6a6cd138929d9
tree5b9caf21571087027b603873555dabe4f16aa015
parentceaa22402e44e09ab34840a3a83888f93785c772
hwmon: (aquacomputer_d5next) Check if temp sensors of legacy devices are connected

Return -ENODATA if a temp sensor of a legacy device
does not contain a reading.

Originally-from: Leonard Anderweit <leonard.anderweit@gmail.com>
Signed-off-by: Aleksa Savic <savicaleksa83@gmail.com>
Link: https://lore.kernel.org/r/20231016083559.139341-2-savicaleksa83@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/aquacomputer_d5next.c