diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2020-10-20 11:34:22 +1300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-12-02 17:42:23 -0800 |
commit | ad00a02e34b481396938c5fa62ee642bff7fbb08 (patch) | |
tree | aab1ec90f95e786dab3c0ec6c75ce3fc73e8e35e /drivers/hwmon/pmbus/max8688.c | |
parent | 92bc2e1f82afa2e456d7416598ffdf3dbf267835 (diff) | |
download | linux-ad00a02e34b481396938c5fa62ee642bff7fbb08.tar.bz2 |
hwmon: (adt7470) Create functions for updating readings and limits
Split the body of adt7470_update_device() into two helper functions
adt7470_update_sensors() and adt7470_update_limits(). Although neither
of the new helpers returns an error yet lay the groundwork for
propagating failures through to the sysfs readers.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20201019223423.31488-2-chris.packham@alliedtelesis.co.nz
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus/max8688.c')
0 files changed, 0 insertions, 0 deletions