commit | f807e8be46991a5a58774a4d6344359b01c949e8 | [log] [tgz] |
---|---|---|
author | Chris Packham <[email protected]> | Wed Mar 17 17:02:30 2021 +1300 |
committer | Guenter Roeck <[email protected]> | Tue Apr 20 06:50:14 2021 -0700 |
tree | 94a41b2d8b272e60c3d990216d6d1f39cbebc88b | |
parent | 82e3430dfa8c32f35ce24a5c628e3e221f168769 [diff] |
hwmon: (pmbus) Replace - with _ in device names before registration The hwmon sysfs ABI requires that the `name` property doesn't include any dashes. But when the pmbus code picks the name up from the device tree it quite often does. Replace '-' with '_' before registering the device. Signed-off-by: Chris Packham <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>