Skip to contentSkip to conversation

hwmon: submitting-patches: Point to with_info API

PATCH New Guenter Roeck 1 participant 1 message Sep 13, 2019

Subsystems (2)
lore
Share & tools
lore

Guenter Roeck

author maintainer
#0 lore raw

PATCH 1/1 hwmon: submitting-patches: Point to with_info API

New driver should use devm_hwmon_device_register_with_info() or hwmon_device_register_with_info() to register with the hwmon subsystem.

---
 Documentation/hwmon/submitting-patches.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/hwmon/submitting-patches.rst +2 -2
index 452fc28d8e0b..6b73dba32b89 100644
@@ -120,8 +120,8 @@ increase the chances of your change being accepted.
   completely initialize your chip and your driver first, then register with
   the hwmon subsystem.
 
-* Use devm_hwmon_device_register_with_groups() or, if your driver needs a remove
-  function, hwmon_device_register_with_groups() to register your driver with the
+* Use devm_hwmon_device_register_with_info() or, if your driver needs a remove
+  function, hwmon_device_register_with_info() to register your driver with the
   hwmon subsystem. Try using devm_add_action() instead of a remove function if
   possible. Do not use hwmon_device_register().
 
Signature · 1 line
2.7.4