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

net: sfp: use hwmon_sanitize_name()



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

Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Acked-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 84296d4c
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