Skip to content

Commit 47db565

Browse files
committed
reset: fix of_reset_simple_xlate kerneldoc comment
The flags parameter never made it into the API, but was erroneously included in the kerneldoc comment. Remove it to fix a documentation build warning: ./drivers/reset/core.c:86: warning: Excess function parameter 'flags' description in 'of_reset_simple_xlate' Fixes: 61fc413 ("reset: Add reset controller API") Signed-off-by: Philipp Zabel <[email protected]>
1 parent 532f9cd commit 47db565

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/reset/core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ static const char *rcdev_name(struct reset_controller_dev *rcdev)
7676
* of_reset_simple_xlate - translate reset_spec to the reset line number
7777
* @rcdev: a pointer to the reset controller device
7878
* @reset_spec: reset line specifier as found in the device tree
79-
* @flags: a flags pointer to fill in (optional)
8079
*
8180
* This simple translation function should be used for reset controllers
8281
* with 1:1 mapping, where reset lines can be indexed by number without gaps.

0 commit comments

Comments
 (0)