Skip to content
Commit 340b3b6a authored by Michael Walle's avatar Michael Walle Committed by Guenter Roeck
Browse files

hwmon: (intel-m10-bmc-hwmon) use devm_hwmon_sanitize_name()



Instead of open-coding the bad characters replacement in the hwmon name,
use the new devm_hwmon_sanitize_name().

Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Acked-by: default avatarXu Yilun <yilun.xu@intel.com>
Reviewed-by: default avatarTom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20220405092452.4033674-3-michael@walle.cc


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 1ad6c3b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment