commit | 9172b5d124c2f54374d8cc5ed6098ecd8fb988cd | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sat Mar 24 21:49:54 2012 -0700 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Sun May 20 19:41:50 2012 -0700 |
tree | d80082b7b3f22fde5ad01af253f45c5bd5435833 | |
parent | a7871def65887dd42b51b89c674a90c085e934c9 [diff] |
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 <linux@roeck-us.net> Acked-by: Jean Delvare <khali@linux-fr.org>