]> www.infradead.org Git - nvme.git/commit
thermal: core: Update thermal zone registration documentation
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 1 Aug 2024 16:39:28 +0000 (18:39 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 2 Aug 2024 11:22:37 +0000 (13:22 +0200)
commita09074228977c24c677c10282f506fa11f88eb93
tree110789f9de5d2e9c60a45e57fb15daa7e1689c09
parentd955d7cecb51b1a3ef4849886f39688aba3f60b3
thermal: core: Update thermal zone registration documentation

The thermal sysfs API document is outdated.  One of the problems with
it is that is still documents thermal_zone_device_register() which
does not exit any more and it does not reflect the current thermal
zone operations definition.

Replace the thermal_zone_device_register() description in it with
a thermal_zone_device_register_with_trips() description, including
an update of the thermal zone operations list.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://patch.msgid.link/2767845.mvXUDI8C0e@rjwysocki.net
Documentation/driver-api/thermal/sysfs-api.rst