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)
commite75d16e58467c5703821e12536c7dc438f3c425d
tree2776ed1f5f790da208e8c7b74fbf62e3ec41aa5a
parentcd929672a9ef644aca12de59a75de5f061d5983d
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