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

hwmon: (lm90) Let lm90_read16() handle 8-bit read operations



Simplify the code a bit by handling single-register read operations
in lm90_read16(). All we need to do is to skip the low-byte read
operation if the register address is 0.

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