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)
commite65365fed87f5385c04124b6e7ab8967ca600b26
tree356442ff26bf557e9ed464e432517666783be019
parent5f7e5e29ab60967a009d307dc4fdecce57efaa9c
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