reset: fix of_reset_simple_xlate kerneldoc comment
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 22 Oct 2019 14:06:19 +0000 (16:06 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 24 Oct 2019 08:26:33 +0000 (10:26 +0200)
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>
drivers/reset/core.c

index 36b1ff69b1e2a9717f6ad98bc933ccfc9b38d137..1b9e71238958487c3a6823f3596b350dd6bb9e6f 100644 (file)
@@ -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.