diff options
author | Iker Perez del Palomar Sustatxa <iker.perez@codethink.co.uk> | 2019-08-08 09:02:46 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-09-03 12:47:17 -0700 |
commit | 4b5be3c1738076284a1fb5aecbe3c960c6d9bb71 (patch) | |
tree | 00ee460bfd0069244192a4a08b6f2632eac62ba9 /drivers/hwmon/raspberrypi-hwmon.c | |
parent | 7f1a300f8abd11593f61c21a550c30144046124d (diff) |
hwmon: (lm75) Modularize lm75_write and make hwmon_chip writable
* Create two separate functions to write into hwmon_temp and hwmon_chip.
* Call the functions from lm75_write.
* Make hwm_chip writable if the chip supports more than one sample time.
Signed-off-by: Iker Perez del Palomar Sustatxa <iker.perez@codethink.co.uk>
Link: https://lore.kernel.org/r/20190808080246.8371-5-iker.perez@codethink.co.uk
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/raspberrypi-hwmon.c')
0 files changed, 0 insertions, 0 deletions