OSDN Git Service

hwmon: (adt7475) Split device update function to measure and limits
authorTokunori Ikegami <ikegami@allied-telesis.co.jp>
Wed, 8 Aug 2018 01:32:16 +0000 (10:32 +0900)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 10 Aug 2018 16:13:01 +0000 (09:13 -0700)
commit5cf943ede4af95313665ea81f224533d2aa272bb
treed8ddeb05b111b9092f3f35bfa7bce288668bec81
parentcd6a2064dbf9e485b80c54687f0ce91cca91a6df
hwmon: (adt7475) Split device update function to measure and limits

The update function reads both measurement and limit values.
Those parts can be split so split them for a maintainability.

Signed-off-by: Tokunori Ikegami <ikegami@allied-telesis.co.jp>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>
[groeck: Clarify description]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7475.c