Skip to content

Commit

Permalink
of/device.c: fix the wrong comments
Browse files Browse the repository at this point in the history
the comments which discribed the input parameters of of_match_device().
the name is changed, so fix it.

Signed-off-by: Jojo Zeng <jojo_zeng@126.com>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
  • Loading branch information
Jojo Zeng authored and Rob Herring committed May 1, 2019
1 parent 57ddd16 commit 8e94fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/of/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

/**
* of_match_device - Tell if a struct device matches an of_device_id list
* @ids: array of of device match structures to search in
* @matches: array of of device match structures to search in
* @dev: the of device structure to match against
*
* Used by a driver to check whether an platform_device present in the
Expand Down

0 comments on commit 8e94fd3

Please sign in to comment.