Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 37ad04d7 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (lm90) Simplify read functions



Return both error code and register value as return code from
read functions, and always check for errors.

This reduces code size on x86_64 by more than 1k while at
the same time improving error resiliency.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 6e5f62b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment