hwmon: (core) Add hwmon_in_enable attribute
authorNicolin Chen <nicoleotsuka@gmail.com>
Fri, 5 Oct 2018 23:59:04 +0000 (16:59 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 11 Oct 2018 03:37:13 +0000 (20:37 -0700)
commit68c0d69dee594e1488aebe12aa50fd79a3e5e5b5
tree51d47b87f3388823cfba2922dfd9514bbb3b7c99
parentead21c77d709cfba593c42f4d71c09e469a19448
hwmon: (core) Add hwmon_in_enable attribute

According to hwmon ABI, in%d_enable is a sysfs interface that
allows user space to enable and disable the input sensor. So
this patch just simply adds the attribute to the list.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/hwmon.c
include/linux/hwmon.h