docs: fix typo in energy-model.rst
Subsystems (2)
PATCH v2 1/1 docs: fix typo in energy-model.rst
Fixes a grammar issue ("than" -> "then") and changes "re-use" to "reuse" for consistency with modern spelling.
Changes since v1:
- Limited scope to .rst files excluding translations, using:
find Documentation/ \
-path Documentation/translations -prune -o \
-name '*.rst' -print | xargs codespell
--- Documentation/power/energy-model.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/power/energy-model.rst +1 -1
@@ -230,7 +230,7 @@ Drivers must provide a pointer to the allocated and initialized new EM and will be visible to other sub-systems in the kernel (thermal, powercap). The main design goal for this API is to be fast and avoid extra calculations or memory allocations at runtime. When pre-computed EMs are available in the -device driver, than it should be possible to simply re-use them with low +device driver, then it should be possible to simply reuse them with low performance overhead. In order to free the EM, provided earlier by the driver (e.g. when the module
Signature · 1 line
2.43.0
Quoted 20 lines · Moon Hee Lee
Fixes a grammar issue ("than" -> "then") and changes "re-use" to "reuse" for consistency with modern spelling.
Changes since v1:
- Limited scope to .rst files excluding translations, using:
findDocumentation/\
-pathDocumentation/translations-prune -o \
-name '*.rst' -print | xargs codespellSigned-off-by Moon Hee Lee <[email protected]>--- Documentation/power/energy-model.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/power/energy-model.rst +0
-0
Documentation/power/energy-model.rst Drivers must provide a pointer to the allocated and initialized new EM
Quoted 9 lines
Documentation/power/energy-model.rst +1
-2@@ -230,7 +230,7 @@ Drivers must provide a pointer to the allocated and initialized new EM and will be visible to other sub-systems in the kernel (thermal, powercap). The main design goal for this API is to be fast and avoid extra calculations or memory allocations at runtime. When pre-computed EMs are available in the -device driver, than it should be possible to simply re-use them with low +device driver, then it should be possible to simply reuse them with low performance overhead. In order to free the EM, provided earlier by the driver (e.g. when the module --
Applied as 6.16 material, thanks!