Skip to contentSkip to conversation

Documentation/hwmon: Fix description of devm_hwmon_device_unregister()

PATCH New Yongsheng Yang 1 participant 1 message Jun 12, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 Documentation/hwmon: Fix description of devm_hwmon_device_unregister()

Use devm_hwmon_device_register_with_info() to replace hwmon_device_register_with_info() in description of devm_hwmon_device_unregister().

---
 Documentation/hwmon/hwmon-kernel-api.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/hwmon/hwmon-kernel-api.rst +1 -1
index c2d1e0299d8d..6cacf7daf25c 100644
@@ -66,7 +66,7 @@ hwmon_device_register_with_info.
 
 devm_hwmon_device_unregister does not normally have to be called. It is only
 needed for error handling, and only needed if the driver probe fails after
-the call to hwmon_device_register_with_info and if the automatic (device
+the call to devm_hwmon_device_register_with_info and if the automatic (device
 managed) removal would be too late.
 
 All supported hwmon device registration functions only accept valid device
Signature · 1 line
2.37.1