summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorAlan Tull <atull@kernel.org>2018-05-17 02:50:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-25 19:23:56 +0300
commitfdff4053d51be4850185aa895813405decd6e956 (patch)
tree4c9e3023e3812146920ea070c30a01d94ab54479 /drivers/fpga/fpga-bridge.c
parentfcc803956a4725dac790ddfce27f519ca6d84c60 (diff)
downloadlinux-fdff4053d51be4850185aa895813405decd6e956.tar.xz
fpga: clarify that unregister functions also free
The following functions also free the struct. Add that fact to the function documentation. - fpga_mgr_free - fpga_bridge_free - fpga_region_free Signed-off-by: Alan Tull <atull@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
-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 4b207a75b696..24b8f98b73ec 100644
--- a/drivers/fpga/fpga-bridge.c
+++ b/drivers/fpga/fpga-bridge.c
@@ -412,7 +412,7 @@ int fpga_bridge_register(struct fpga_bridge *bridge)
EXPORT_SYMBOL_GPL(fpga_bridge_register);
/**
- * fpga_bridge_unregister - unregister a fpga bridge driver
+ * fpga_bridge_unregister - unregister and free a fpga bridge
* @bridge: FPGA bridge struct created by fpga_bridge_create
*/
void fpga_bridge_unregister(struct fpga_bridge *bridge)