]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
hwmon: (w83795) Check for BEEP pin availability
authorJean Delvare <khali@linux-fr.org>
Mon, 15 Nov 2010 20:38:57 +0000 (21:38 +0100)
committerJean Delvare <khali@endymion.delvare>
Mon, 15 Nov 2010 20:38:57 +0000 (21:38 +0100)
commit52d159eecced3e4ead901e2a14347f5c11ea4bab
tree64b1e2f4bebba1a5580a4db5514c62535ddc2fd2
parent793c51d5fdfa76043f1221fdaa022f50146e8386
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>
drivers/hwmon/w83795.c