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>
This commit is contained in:
Alan Tull
2018-05-16 18:50:06 -05:00
committed by Greg Kroah-Hartman
parent fcc803956a
commit fdff4053d5
3 changed files with 3 additions and 3 deletions

View File

@@ -232,7 +232,7 @@ int fpga_region_register(struct fpga_region *region)
EXPORT_SYMBOL_GPL(fpga_region_register);
/**
* fpga_region_unregister - unregister a FPGA region
* fpga_region_unregister - unregister and free a FPGA region
* @region: FPGA region
*/
void fpga_region_unregister(struct fpga_region *region)