diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2021-11-20 01:24:18 +0300 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2022-07-13 18:38:18 +0300 |
| commit | c9933a4439b57f404d7809445e6e43c8f1bbf7e4 (patch) | |
| tree | 2ed811b77df957a7027c1a25992349e44af61d71 /include/linux/fpga/fpga-bridge.h | |
| parent | 3c1ecccbbc1389773c32fc56910cf23512fccfcd (diff) | |
| download | linux-c9933a4439b57f404d7809445e6e43c8f1bbf7e4.tar.xz | |
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: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions
