Skip to content
Snippets Groups Projects
user avatar
Stefan Schaeckeler authored
Make fan and pwm names in sysfs start with index 1 in accordance to
Documentation/hwmon/sysfs-interface conventions.

Current implementation starts with index 0, making tools such as
sensors(1) skip the first fan.

Signed-off-by: default avatarStefan Schaeckeler <sschaeck@cisco.com>
Fixes: 2d7a548a ("drivers: hwmon: Support for ASPEED PWM/Fan tach")
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
5f348fa3
History
Name Last commit Last update