]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm75) Convert to use regmap
authorGuenter Roeck <linux@roeck-us.net>
Mon, 20 Jun 2016 00:49:19 +0000 (17:49 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 9 Jul 2016 15:33:47 +0000 (08:33 -0700)
commit1fb7fe3a20532b62d5d03ab64a5365b3d9bec59b
tree356442ff26bf557e9ed464e432517666783be019
parent9fb7574ecf78980fc89acc645e79fae12b4e5485
hwmon: (lm75) Convert to use regmap

Convert to use regmap. Leave caching to regmap and drop the register
update function. While this can result in additional read operations
if the temperature register is read continuously, it avoids re-reading
the limit registers and thus overall reduces complexity.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig
drivers/hwmon/lm75.c