]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (core) Add support for pwm auto channels attribute
authorArmin Wolf <W_Armin@gmx.de>
Thu, 24 Feb 2022 06:12:09 +0000 (07:12 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:19 +0000 (17:03 -0800)
commit5ac13d8ce6283b6ac06c86503a9ea7bce5f5461b
tree2776ed1f5f790da208e8c7b74fbf62e3ec41aa5a
parent51219449003ddbb03669075a91d034227b4adb5e
hwmon: (core) Add support for pwm auto channels attribute

pwm[1-*]_auto_channels_temp is documented as an official
hwmon sysfs attribute, yet there is no support for it in
the new with_info-API. Fix that.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20220224061210.16452-2-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/hwmon.c
include/linux/hwmon.h