+17
−30
Loading
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:
Guenter Roeck <linux@roeck-us.net>