summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlan Tull <atull@kernel.org>2018-09-12 16:43:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-30 17:49:55 +0200
commitb4d9a0e5ca139640a45bcda87bc718f85d8008af (patch)
treeaf462d79079a6a11099abda4c067255c194ab3ba /drivers
parenttools: hv: fcopy: set 'error' in case an unknown operation was requested (diff)
downloadlinux-b4d9a0e5ca139640a45bcda87bc718f85d8008af.tar.xz
linux-b4d9a0e5ca139640a45bcda87bc718f85d8008af.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/fpga/fpga-bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/fpga-bridge.c b/drivers/fpga/fpga-bridge.c
index 24b8f98b73ec..c983dac97501 100644
--- a/drivers/fpga/fpga-bridge.c
+++ b/drivers/fpga/fpga-bridge.c
@@ -125,7 +125,7 @@ static int fpga_bridge_dev_match(struct device *dev, const void *data)
*
* Given a device, get an exclusive reference to a fpga bridge.
*
- * Return: fpga manager struct or IS_ERR() condition containing error code.
+ * Return: fpga bridge struct or IS_ERR() condition containing error code.
*/
struct fpga_bridge *fpga_bridge_get(struct device *dev,
struct fpga_image_info *info)