[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <88c195a1-21ee-2b9c-3606-8c3928e3dff2@gmail.com>
Date: Fri, 9 Jun 2023 20:44:34 +0700
From: Bagas Sanjaya <bagasdotme@...il.com>
To: Yongsheng Yang <iyysheng@...il.com>, jdelvare@...e.com,
linux@...ck-us.net, corbet@....net
Cc: linux-hwmon@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] Documentation/hwmon: Fix description of
devm_hwmon_device_unregister()
On 6/9/23 14:55, Yongsheng Yang wrote:
> diff --git a/Documentation/hwmon/hwmon-kernel-api.rst b/Documentation/hwmon/hwmon-kernel-api.rst
> index c2d1e0299d8d..6cacf7daf25c 100644
> --- a/Documentation/hwmon/hwmon-kernel-api.rst
> +++ b/Documentation/hwmon/hwmon-kernel-api.rst
> @@ -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
LGTM, thanks!
Reviewed-by: Bagas Sanjaya <bagasdotme@...il.com>
--
An old man doll... just what I always wanted! - Clara
Powered by blists - more mailing lists