diff mbox series

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

Message ID 20240731095223.2778-1-ilpo.jarvinen@linux.intel.com (mailing list archive)
State Superseded, archived
Headers show
Series [1/1] docs: thermal: Remove extra parenthesis | expand

Commit Message

Ilpo Järvinen July 31, 2024, 9:52 a.m. UTC
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@linux.intel.com>
---
 Documentation/driver-api/thermal/sysfs-api.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rafael J. Wysocki July 31, 2024, 10:59 a.m. UTC | #1
On Wed, Jul 31, 2024 at 11:52 AM Ilpo Järvinen
<ilpo.jarvinen@linux.intel.com> 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@linux.intel.com>
> ---
>  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.
diff mbox series

Patch

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