Skip to contentSkip to conversation

Documentation: reset: Use fwnode_reset_simple_xlate() in the kernel-doc directive

PATCH Applied Karl Mehltretter 3 participants 3 messages Sep 5 – Sep 7

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: reset: Use fwnode_reset_simple_xlate() in the kernel-doc directive

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
---
 Documentation/driver-api/reset.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/driver-api/reset.rst +1 -1
index 7a6571849664..932699c57d1e 100644
@@ -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
Signature · 1 line
2.53.0
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Karl Mehltretter

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

Thanks.

Quoted 17 lines
---
 Documentation/driver-api/reset.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/driver-api/reset.rst +1 -1
index 7a6571849664..932699c57d1e 100644
@@ -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
Signature · 1 line
~Randy
maintainer Applied
#2 lore raw
In reply to Karl Mehltretter
Quoted 20 lines · Karl Mehltretter

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
---
 Documentation/driver-api/reset.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/driver-api/reset.rst +0 -0
index 7a6571849664..932699c57d1e 100644

Documentation/driver-api/reset.rst devm_reset_controller_register(). · line 217

Quoted 6 lines
Documentation/driver-api/reset.rst +1 -1
@@ -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