Skip to content

Commit

Permalink
mfd: rave-sp: Fix mistake in 'struct rave_sp_deframer's kerneldoc
Browse files Browse the repository at this point in the history
Argument 'received' was incorrectly named by its struct type 'completion'
instead of its name.

Fixes the following W=1 warning:

 drivers/mfd/rave-sp.c:107: warning: Function parameter or member 'received' not described in 'rave_sp_reply'

Cc: Andrey Vostrikov <andrey.vostrikov@cogentembedded.com>
Cc: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Lee Jones committed Jul 6, 2020
1 parent 981b126 commit 768c1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/rave-sp.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct rave_sp_deframer {
* @data: Buffer to store reply payload in
* @code: Expected reply code
* @ackid: Expected reply ACK ID
* @completion: Successful reply reception completion
* @received: Successful reply reception completion
*/
struct rave_sp_reply {
size_t length;
Expand Down

0 comments on commit 768c1e3

Please sign in to comment.