hwmon: (w83781d) Refactor beep enable handling
authorJean Delvare <khali@linux-fr.org>
Fri, 17 Oct 2008 15:51:18 +0000 (17:51 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Fri, 17 Oct 2008 15:51:18 +0000 (17:51 +0200)
commit2fbbbf148840332d614790ea00d9a7ecb38d648d
treeaa091caf282979543ece975e4f19423c8059e263
parent6aa693b85257cd41fdb3554016b663519dbf9d14
hwmon: (w83781d) Refactor beep enable handling

We can handle the beep enable bit as any other beep mask bit for
slightly smaller code.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Wolfgang Grandegger <wg@grandegger.com>
drivers/hwmon/w83781d.c