Home
last modified time | relevance | path

Searched hist:ad00a02e34b481396938c5fa62ee642bff7fbb08 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dadt7470.cdiff ad00a02e34b481396938c5fa62ee642bff7fbb08 Mon Oct 19 17:34:22 CDT 2020 Chris Packham <chris.packham@alliedtelesis.co.nz> 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>