Linux Documentation
 help / color / mirror / Atom feed
* [PATCH] Documentation: reset: Use fwnode_reset_simple_xlate() in the kernel-doc directive
@ 2026-09-05  8:52 Karl Mehltretter
  2026-09-05 17:05 ` Randy Dunlap
  2026-09-07 15:50 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Karl Mehltretter @ 2026-09-05  8:52 UTC (permalink / raw)
  To: Philipp Zabel
  Cc: Karl Mehltretter, Jonathan Corbet, linux-doc, linux-kernel,
	Shuah Khan, Randy Dunlap, Bartosz Golaszewski

reset.rst asks drivers/reset/core.c for of_reset_simple_xlate(). Commit
9035073d0ef1 ("reset: convert reset core to using firmware nodes")
replaced it with fwnode_reset_simple_xlate(). Since then the directive
finds nothing for it and the default translation helper is missing from
the rendered controller API section.

Use the current name.

Fixes: 9035073d0ef1 ("reset: convert reset core to using firmware nodes")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
 Documentation/driver-api/reset.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/driver-api/reset.rst b/Documentation/driver-api/reset.rst
index 7a6571849664..932699c57d1e 100644
--- a/Documentation/driver-api/reset.rst
+++ b/Documentation/driver-api/reset.rst
@@ -213,7 +213,7 @@ devm_reset_controller_register().
    :internal:
 
 .. kernel-doc:: drivers/reset/core.c
-   :functions: of_reset_simple_xlate
+   :functions: fwnode_reset_simple_xlate
                reset_controller_register
                reset_controller_unregister
                devm_reset_controller_register
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: reset: Use fwnode_reset_simple_xlate() in the kernel-doc directive
  2026-09-05  8:52 [PATCH] Documentation: reset: Use fwnode_reset_simple_xlate() in the kernel-doc directive Karl Mehltretter
@ 2026-09-05 17:05 ` Randy Dunlap
  2026-09-07 15:50 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2026-09-05 17:05 UTC (permalink / raw)
  To: Karl Mehltretter, Philipp Zabel
  Cc: Jonathan Corbet, linux-doc, linux-kernel, Shuah Khan,
	Bartosz Golaszewski



On 9/5/26 1:52 AM, Karl Mehltretter wrote:
> reset.rst asks drivers/reset/core.c for of_reset_simple_xlate(). Commit
> 9035073d0ef1 ("reset: convert reset core to using firmware nodes")
> replaced it with fwnode_reset_simple_xlate(). Since then the directive
> finds nothing for it and the default translation helper is missing from
> the rendered controller API section.
> 
> Use the current name.
> 
> Fixes: 9035073d0ef1 ("reset: convert reset core to using firmware nodes")
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
 
> ---
>  Documentation/driver-api/reset.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/driver-api/reset.rst b/Documentation/driver-api/reset.rst
> index 7a6571849664..932699c57d1e 100644
> --- a/Documentation/driver-api/reset.rst
> +++ b/Documentation/driver-api/reset.rst
> @@ -213,7 +213,7 @@ devm_reset_controller_register().
>     :internal:
>  
>  .. kernel-doc:: drivers/reset/core.c
> -   :functions: of_reset_simple_xlate
> +   :functions: fwnode_reset_simple_xlate
>                 reset_controller_register
>                 reset_controller_unregister
>                 devm_reset_controller_register

-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: reset: Use fwnode_reset_simple_xlate() in the kernel-doc directive
  2026-09-05  8:52 [PATCH] Documentation: reset: Use fwnode_reset_simple_xlate() in the kernel-doc directive Karl Mehltretter
  2026-09-05 17:05 ` Randy Dunlap
@ 2026-09-07 15:50 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2026-09-07 15:50 UTC (permalink / raw)
  To: Karl Mehltretter, Philipp Zabel
  Cc: Karl Mehltretter, linux-doc, linux-kernel, Shuah Khan,
	Randy Dunlap, Bartosz Golaszewski

Karl Mehltretter <kmehltretter@gmail.com> writes:

> reset.rst asks drivers/reset/core.c for of_reset_simple_xlate(). Commit
> 9035073d0ef1 ("reset: convert reset core to using firmware nodes")
> replaced it with fwnode_reset_simple_xlate(). Since then the directive
> finds nothing for it and the default translation helper is missing from
> the rendered controller API section.
>
> Use the current name.
>
> Fixes: 9035073d0ef1 ("reset: convert reset core to using firmware nodes")
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
> ---
>  Documentation/driver-api/reset.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/driver-api/reset.rst b/Documentation/driver-api/reset.rst
> index 7a6571849664..932699c57d1e 100644
> --- a/Documentation/driver-api/reset.rst
> +++ b/Documentation/driver-api/reset.rst
> @@ -213,7 +213,7 @@ devm_reset_controller_register().
>     :internal:
>  
>  .. kernel-doc:: drivers/reset/core.c
> -   :functions: of_reset_simple_xlate
> +   :functions: fwnode_reset_simple_xlate
>                 reset_controller_register

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-07 15:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05  8:52 [PATCH] Documentation: reset: Use fwnode_reset_simple_xlate() in the kernel-doc directive Karl Mehltretter
2026-09-05 17:05 ` Randy Dunlap
2026-09-07 15:50 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox