hwmon: (pmbus) Add function to clear sensor cache
authorGuenter Roeck <linux@roeck-us.net>
Sat, 26 Jan 2013 23:15:37 +0000 (15:15 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Feb 2013 17:58:04 +0000 (09:58 -0800)
For PMBus chips, modifying one limit register may affect other limits.
Since limits are all cached in the PMBus core driver, related changes
are not reflected in reported limits.

Introduce function to clear the attribute cache. After calling this function,
the core pmbus driver re-reads all cached values.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>

No differences found