hwmon: (core) Add missing beep-related standard attributes
authorJames Seo <james@equiv.tech>
Sun, 7 May 2023 15:22:17 +0000 (08:22 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 8 Jun 2023 13:41:17 +0000 (06:41 -0700)
commitfe6ac23777ef70c17aa7333400ede88e364fbd36
tree41b12ef84798a809c77d86e24a56d9bcc45b66fd
parent7c415ed8673470fbe18ce4a3694e5776d4db2456
hwmon: (core) Add missing beep-related standard attributes

beep_enable, inX_beep, currX_beep, fanX_beep, and tempX_beep
are standard attributes mentioned in the sysfs interface
specification but not implemented in the hwmon core. Since
these are not deprecated, implement them.

Adding beep_mask is not necessary, as it is deprecated and
the drivers already using it are manually defining it.

Signed-off-by: James Seo <james@equiv.tech>
Link: https://lore.kernel.org/r/20230507152216.1862653-1-james@equiv.tech
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/hwmon.c
include/linux/hwmon.h