diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-03-25 04:49:54 (GMT) |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-05-21 02:41:50 (GMT) |
commit | 9172b5d124c2f54374d8cc5ed6098ecd8fb988cd (patch) | |
tree | d80082b7b3f22fde5ad01af253f45c5bd5435833 /drivers/spi/spi-bfin5xx.c | |
parent | a7871def65887dd42b51b89c674a90c085e934c9 (diff) | |
download | linux-9172b5d124c2f54374d8cc5ed6098ecd8fb988cd.tar.xz |
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>
Diffstat (limited to 'drivers/spi/spi-bfin5xx.c')
0 files changed, 0 insertions, 0 deletions