Documentation/hwmon: Fix description of devm_hwmon_device_unregister()
authorYongsheng Yang <iyysheng@gmail.com>
Fri, 9 Jun 2023 07:55:10 +0000 (11:55 +0400)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 10 Jun 2023 14:38:22 +0000 (07:38 -0700)
commit5e28d5e4b8bbc94526e66e808ef0ba1b91b72b3e
treedaaae9501f23e78fac452061a3282fa8cf9f2e59
parent7357b1876b212742a5bec59786d660cfcf66defb
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.

Signed-off-by: Yongsheng Yang <iyysheng@gmail.com>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Link: https://lore.kernel.org/r/20230609075510.1305-1-iyysheng@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/hwmon-kernel-api.rst