docs: thermal: Remove extra parenthesis
Subsystems (2)
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.
Signed-off-by Ilpo Järvinen <[email protected]>
--- Documentation/driver-api/thermal/sysfs-api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/driver-api/thermal/sysfs-api.rst +1 -1
@@ -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
Rafael J. Wysocki
maintainerQuoted 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.Signed-off-by Ilpo Järvinen <[email protected]>--- Documentation/driver-api/thermal/sysfs-api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/driver-api/thermal/sysfs-api.rst +0
-0
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.