commit | 52d159eecced3e4ead901e2a14347f5c11ea4bab | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Mon Nov 15 21:38:57 2010 +0100 |
committer | Jean Delvare <khali@endymion.delvare> | Mon Nov 15 21:38:57 2010 +0100 |
tree | 64b1e2f4bebba1a5580a4db5514c62535ddc2fd2 | |
parent | 793c51d5fdfa76043f1221fdaa022f50146e8386 [diff] |
hwmon: (w83795) Check for BEEP pin availability On the W83795ADG, there's a single pin for BEEP and OVT#, so you can't have both. Check the configuration and don't create beep attributes when BEEP pin is not available. The W83795G has a dedicated BEEP pin so the functionality is always available there. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>