]> 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)
commitaef796578d07a475883a6c3ee3c92175b174276a
tree356442ff26bf557e9ed464e432517666783be019
parentc4d00f77c404ca00ef4f771ff21f0d6c126d67b0
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