Re: [PATCH 1/1] docs: thermal: Remove extra parenthesis

From: Rafael J. Wysocki
Date: Wed Jul 31 2024 - 06:59:26 EST


On Wed, Jul 31, 2024 at 11:52 AM Ilpo Järvinen
<ilpo.jarvinen@xxxxxxxxxxxxxxx> wrote:
>
> thermal_zone_device_register() prototype in the thermal zone device
> interface documentation has double closing parenthesis. Remove one
> of them.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> ---
> Documentation/driver-api/thermal/sysfs-api.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/driver-api/thermal/sysfs-api.rst b/Documentation/driver-api/thermal/sysfs-api.rst
> index 6c1175c6afba..63ed1801ac40 100644
> --- a/Documentation/driver-api/thermal/sysfs-api.rst
> +++ b/Documentation/driver-api/thermal/sysfs-api.rst
> @@ -43,7 +43,7 @@ temperature) and throttle appropriate devices.
> int trips, int mask, void *devdata,
> struct thermal_zone_device_ops *ops,
> const struct thermal_zone_params *tzp,
> - int passive_delay, int polling_delay))
> + int passive_delay, int polling_delay)
>
> This interface function adds a new thermal zone device (sensor) to
> /sys/class/thermal folder as `thermal_zone[0-*]`. It tries to bind all the
> --

I was about to apply this, but then I realized that the function in
question doesn't even exist any more.

Let me have a look at this file.