Skip to content

Commit

Permalink
reset: fix of_reset_control_get_count kerneldoc comment
Browse files Browse the repository at this point in the history
Add a newline and remove a superfluous kerneldoc marker before the
of_reset_control_get_count kerneldoc comment, to fix documentation
build warnings:

  ./drivers/reset/core.c:832: warning: Incorrect use of kernel-doc format:  * of_reset_control_get_count - Count number of resets available with a device
  ./drivers/reset/core.c:840: warning: Function parameter or member 'node' not described in 'of_reset_control_get_count'

Fixes: 17c82e2 ("reset: Add APIs to manage array of resets")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
  • Loading branch information
Philipp Zabel committed Oct 24, 2019
1 parent 47db565 commit 77d551b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/reset/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -825,9 +825,10 @@ int __device_reset(struct device *dev, bool optional)
}
EXPORT_SYMBOL_GPL(__device_reset);

/**
/*
* APIs to manage an array of reset controls.
*/

/**
* of_reset_control_get_count - Count number of resets available with a device
*
Expand Down

0 comments on commit 77d551b

Please sign in to comment.