]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (adt7470) Add write support to alarm_mask
authorJoshua Scott <joshua.scott@alliedtelesis.co.nz>
Fri, 9 Sep 2016 05:19:25 +0000 (17:19 +1200)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 10 Sep 2016 23:20:23 +0000 (16:20 -0700)
commitfeca3132d9fd9822a28f67c25051efd468174de8
treec455d4b33fbba8815ea30719fc2526c3ed069fa3
parentc7cefce03e691270c0e5e117248e14661e9c9cad
hwmon: (adt7470) Add write support to alarm_mask

Add write support for the alarm_mask. A base of 0 is provided so that
either hex or decimal can be used. The hex format when reading alarm_mask
is unchanged.

Signed-off-by: Joshua Scott <joshua.scott@alliedtelesis.co.nz>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7470.c