Skip to content
Commit 363b6545 authored by Michael Walle's avatar Michael Walle Committed by Jakub Kicinski
Browse files

net: phy: nxp-tja11xx: 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 avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 3f118c44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment