summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm75.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-02-12 11:25:07 +0100
committerMark M. Hoffman <mhoffman@lightlink.com>2008-04-27 09:23:12 -0400
commit93c75a4ac2d95834e7202965d853d3cd23aadb40 (patch)
tree6f80254db8035f627d1e4a998a748f70a9a8ab4f /drivers/hwmon/lm75.c
parent4040c415f5566ecfe95b509ee84d68fb7050b30c (diff)
downloadlinux-93c75a4ac2d95834e7202965d853d3cd23aadb40.tar.bz2
hwmon: (w83793) VID and VRM handling cleanups
* Rework the device initialization function so as to read the "Multi-Function Pin Control" register (0x58) once instead of twice. I2C transactions aren't cheap so this speeds up the driver loading. * Only create the "vrm" attribute if at least one VID value is available. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Gong Jun <jgong@winbond.com> Acked-by: Rudolf Marek <r.marek@assembler.cz> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'drivers/hwmon/lm75.c')
0 files changed, 0 insertions, 0 deletions