Skip to contentSkip to conversation

docs: thermal: Remove extra parenthesis

PATCH In review Ilpo Järvinen 2 participants 2 messages Jul 31, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: thermal: Remove extra parenthesis

thermal_zone_device_register() prototype in the thermal zone device interface documentation has double closing parenthesis. Remove one of them.

---
 Documentation/driver-api/thermal/sysfs-api.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/driver-api/thermal/sysfs-api.rst +1 -1
index 6c1175c6afba..63ed1801ac40 100644
@@ -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
Signature · 1 line
2.39.2
#1 lore raw
Quoted 15 lines · Ilpo Järvinen

thermal_zone_device_register() prototype in the thermal zone device interface documentation has double closing parenthesis. Remove one of them.

---
 Documentation/driver-api/thermal/sysfs-api.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/driver-api/thermal/sysfs-api.rst +0 -0
index 6c1175c6afba..63ed1801ac40 100644

Documentation/driver-api/thermal/sysfs-api.rst temperature) and throttle appropriate devices.

Quoted 9 lines
Documentation/driver-api/thermal/sysfs-api.rst +1 -2
@@ -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.