diff options
author | Guenter Roeck | 2016-06-20 09:55:46 -0700 |
---|---|---|
committer | Guenter Roeck | 2016-07-12 14:24:14 -0700 |
commit | 28a340db9043f11dfd092c1b8ea4043f59cc0ca1 (patch) | |
tree | 01889c6f36fc6fa9537f7cc6bc4c4484ca983714 /drivers/clk | |
parent | a9f92ccf334f7e15124193b1d7b89b7e6e6624e2 (diff) |
hwmon: (tmp102) Convert to use regmap, and drop local cache
By converting the driver to regmap, we can use regmap to cache non-volatile
registers. Stop caching the temperature register; while potentially reading
it more often can result in reading it more often than necessary, this is
offset by the gain due to not re-reading the limit registers.
A positive side effect of this change is that limit registers can now be
read and updated before the first temperature conversion is complete.
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions