Skip to content

Commit b4d9a0e

Browse files
atull-alteragregkh
authored andcommitted
fpga: bridge: fix obvious function documentation error
fpga_bridge_dev_match() returns a FPGA bridge struct, not a FPGA manager struct so s/manager/bridge/. Signed-off-by: Alan Tull <atull@kernel.org> Acked-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c2d68af commit b4d9a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/fpga/fpga-bridge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static int fpga_bridge_dev_match(struct device *dev, const void *data)
125125
*
126126
* Given a device, get an exclusive reference to a fpga bridge.
127127
*
128-
* Return: fpga manager struct or IS_ERR() condition containing error code.
128+
* Return: fpga bridge struct or IS_ERR() condition containing error code.
129129
*/
130130
struct fpga_bridge *fpga_bridge_get(struct device *dev,
131131
struct fpga_image_info *info)

0 commit comments

Comments
 (0)