Re: [PATCH v2] docs: fix typo in energy-model.rst

Rafael J. Wysocki
2025-05-09T16:35:53Z

On Wed, May 7, 2025 at 12:01 AM Moon Hee Lee <moonhee.lee.ca@gmail.com> wrote:
>
> 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
>
> Signed-off-by: Moon Hee Lee <moonhee.lee.ca@gmail.com>
> ---
> Documentation/power/energy-model.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/power/energy-model.rst b/Documentation/power/energy-model.rst
> index ada4938c37e5..490ddd483f46 100644
> --- a/Documentation/power/energy-model.rst
> +++ b/Documentation/power/energy-model.rst
> @@ -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!