]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (w83795) Rework beep_enable implementation
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:47 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:47 +0000 (20:31 +0200)
commit66d777915ff5f51fed85fedc735121fd86fc4ab3
tree00da2e02471413e8698cd5de3258329b5f03e1db
parent8ba228f304237d79830a064d0c9fe85a79d1aef4
hwmon: (w83795) Rework beep_enable implementation

Handle beep_enable just like all other beep bits. It doesn't need
anything special, so let's avoid redundant code. This also saves a
duplicate register read at initialization time.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83795.c