From: Jean Delvare Date: Tue, 12 Feb 2008 10:25:07 +0000 (+0100) Subject: hwmon: (w83793) VID and VRM handling cleanups X-Git-Tag: v2.6.26-rc1~22^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93c75a4ac2d95834e7202965d853d3cd23aadb40;p=pandora-kernel.git 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 Cc: Gong Jun Acked-by: Rudolf Marek Signed-off-by: Mark M. Hoffman --- Reading git-diff-tree failed