Files
Guenter Roeck 9736fab644 hwmon: (sht3x) Fix error handling
[ Upstream commit 8dcc66ad379ec0642fb281c45ccfd7d2d366e53f ]

Handling of errors when reading status, temperature, and humidity returns
the error number as negative attribute value. Fix it up by returning
the error as return value.

Fixes: a0ac418c60 ("hwmon: (sht3x) convert some of sysfs interface to hwmon")
Cc: JuenKit Yip <JuenKit_Yip@hotmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-29 14:10:28 +01:00
..
2025-06-16 06:30:57 -07:00
2025-03-18 08:03:40 -07:00
2025-05-12 18:05:54 -07:00
2025-04-23 07:18:27 -07:00
2025-10-29 14:10:28 +01:00
2024-11-10 14:48:07 -08:00