summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2019-10-22 16:06:19 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2019-10-24 10:26:33 +0200
commit47db5652517684ee6c2102b944f977bf77aa9635 (patch)
tree6f8e8cc6dd05fa729ec1825dfbddad74714e1f2c /drivers/reset
parentreset: Fix memory leak in reset_control_array_put() (diff)
downloadlinux-47db5652517684ee6c2102b944f977bf77aa9635.tar.xz
linux-47db5652517684ee6c2102b944f977bf77aa9635.zip
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: 61fc41317666 ("reset: Add reset controller API") Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/reset/core.c b/drivers/reset/core.c
index 36b1ff69b1e2..1b9e71238958 100644
--- a/drivers/reset/core.c
+++ b/drivers/reset/core.c
@@ -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
* @rcdev: a pointer to the reset controller device
* @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
* with 1:1 mapping, where reset lines can be indexed by number without gaps.