]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm90) Add power control
authorWei Ni <wni@nvidia.com>
Fri, 15 Nov 2013 09:40:39 +0000 (10:40 +0100)
committerJean Delvare <khali@endymion.delvare>
Fri, 15 Nov 2013 09:40:39 +0000 (10:40 +0100)
commit9f228583b145ca38d96618528ad46e57b223e4f6
treef0f5d78cf5e7f740783831585e69881646895401
parent6aac19efaba52fdf8cbd590621b228eab4143a10
hwmon: (lm90) Add power control

The device lm90 can be controlled by the vcc rail.
Adding the regulator support to power on/off the vcc rail.
Enable the "vcc" regulator before accessing the device.

[JD: Rename variables to avoid confusion with registers.]

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm90.c