hwmon: Fix the missing of 'average' word in hwmon_power_attr_templates
authorHuisong Li <lihuisong@huawei.com>
Tue, 4 Mar 2025 07:46:40 +0000 (15:46 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 4 Mar 2025 11:13:18 +0000 (03:13 -0800)
commit232427772fc123942d110c18269cfbdf40edae18
treee62ad18bd36ecc7def86cbf3daf54ed2a0727596
parent0ea627381eb527a0ebd262c690c3992085b87ff4
hwmon: Fix the missing of 'average' word in hwmon_power_attr_templates

The string "power%d_interval_max" and "power%d_interval_min" in the
hwmon_power_attr_templates[] are corresponding to the sysfs interface name
of hwmon_power_average_interval_max and hwmon_power_average_interval_min.
But the 'average' word is missing in two strings. Fortunately, there is
no driver to use it yet.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Link: https://lore.kernel.org/r/20250304074640.2770353-1-lihuisong@huawei.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/hwmon.c