aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-04-05 11:24:52 +0200
committerGuenter Roeck <linux@roeck-us.net>2022-05-17 05:53:00 -0700
commit340b3b6aa47ae13e1d46ecb5e03ec2c260603f63 (patch)
tree685271b17292ba843bb75911a172e58b3ce9b5e4 /Documentation/hwmon
parenthwmon: introduce hwmon_sanitize_name() (diff)
downloadlinux-dev-340b3b6aa47ae13e1d46ecb5e03ec2c260603f63.tar.xz
linux-dev-340b3b6aa47ae13e1d46ecb5e03ec2c260603f63.zip
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: Michael Walle <michael@walle.cc> Acked-by: Xu Yilun <yilun.xu@intel.com> Reviewed-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20220405092452.4033674-3-michael@walle.cc Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions