From: Guenter Roeck Date: Sun, 25 Mar 2012 04:49:54 +0000 (-0700) Subject: hwmon: (it87) Create voltage attributes only if voltage is enabled X-Git-Tag: v3.5-rc1~115^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9172b5d124c2f54374d8cc5ed6098ecd8fb988cd;p=pandora-kernel.git hwmon: (it87) Create voltage attributes only if voltage is enabled On IT8782F and IT8783F, some voltage input pins may be disabled. Don't create sysfs attribute files if that is the case. Signed-off-by: Guenter Roeck Acked-by: Jean Delvare --- Reading git-diff-tree failed