diff options
author | Michael Walle <michael@walle.cc> | 2022-04-05 12:24:52 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-05-17 15:53:00 +0300 |
commit | 340b3b6aa47ae13e1d46ecb5e03ec2c260603f63 (patch) | |
tree | 685271b17292ba843bb75911a172e58b3ce9b5e4 /Documentation/hwmon | |
parent | 1ad6c3b7ef132e1d8c5d606008069724625c8daf (diff) | |
download | linux-340b3b6aa47ae13e1d46ecb5e03ec2c260603f63.tar.xz |
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