Commit 47db5652 authored by Philipp Zabel's avatar Philipp Zabel

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: 61fc4131 ("reset: Add reset controller API")
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 532f9cd6
...@@ -76,7 +76,6 @@ static const char *rcdev_name(struct reset_controller_dev *rcdev) ...@@ -76,7 +76,6 @@ static const char *rcdev_name(struct reset_controller_dev *rcdev)
* of_reset_simple_xlate - translate reset_spec to the reset line number * of_reset_simple_xlate - translate reset_spec to the reset line number
* @rcdev: a pointer to the reset controller device * @rcdev: a pointer to the reset controller device
* @reset_spec: reset line specifier as found in the device tree * @reset_spec: reset line specifier as found in the device tree
* @flags: a flags pointer to fill in (optional)
* *
* This simple translation function should be used for reset controllers * This simple translation function should be used for reset controllers
* with 1:1 mapping, where reset lines can be indexed by number without gaps. * with 1:1 mapping, where reset lines can be indexed by number without gaps.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment