diff options
author | Michael Walle <michael@walle.cc> | 2022-04-05 11:24:52 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-05-17 05:53:00 -0700 |
commit | 340b3b6aa47ae13e1d46ecb5e03ec2c260603f63 (patch) | |
tree | 685271b17292ba843bb75911a172e58b3ce9b5e4 /Documentation/hwmon/max197.rst | |
parent | hwmon: introduce hwmon_sanitize_name() (diff) | |
download | linux-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/max197.rst')
0 files changed, 0 insertions, 0 deletions