Skip to content
Commit 5f348fa3 authored by Stefan Schaeckeler's avatar Stefan Schaeckeler Committed by Guenter Roeck
Browse files

hwmon: (aspeed-pwm-tacho) make fan/pwm names start with index 1



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>
parent 4d58e732
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment