mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
fpga: region: change FPGA indirect article to an
Change use of 'a fpga' to 'an fpga' Signed-off-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20210608212350.3029742-10-trix@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
895ec9c09a
commit
011c49e370
@ -33,14 +33,14 @@ struct fpga_region *fpga_region_class_find(
|
||||
EXPORT_SYMBOL_GPL(fpga_region_class_find);
|
||||
|
||||
/**
|
||||
* fpga_region_get - get an exclusive reference to a fpga region
|
||||
* fpga_region_get - get an exclusive reference to an fpga region
|
||||
* @region: FPGA Region struct
|
||||
*
|
||||
* Caller should call fpga_region_put() when done with region.
|
||||
*
|
||||
* Return fpga_region struct if successful.
|
||||
* Return -EBUSY if someone already has a reference to the region.
|
||||
* Return -ENODEV if @np is not a FPGA Region.
|
||||
* Return -ENODEV if @np is not an FPGA Region.
|
||||
*/
|
||||
static struct fpga_region *fpga_region_get(struct fpga_region *region)
|
||||
{
|
||||
@ -234,7 +234,7 @@ err_free:
|
||||
EXPORT_SYMBOL_GPL(fpga_region_create);
|
||||
|
||||
/**
|
||||
* fpga_region_free - free a FPGA region created by fpga_region_create()
|
||||
* fpga_region_free - free an FPGA region created by fpga_region_create()
|
||||
* @region: FPGA region
|
||||
*/
|
||||
void fpga_region_free(struct fpga_region *region)
|
||||
@ -257,7 +257,7 @@ static void devm_fpga_region_release(struct device *dev, void *res)
|
||||
* @mgr: manager that programs this region
|
||||
* @get_bridges: optional function to get bridges to a list
|
||||
*
|
||||
* This function is intended for use in a FPGA region driver's probe function.
|
||||
* This function is intended for use in an FPGA region driver's probe function.
|
||||
* After the region driver creates the region struct with
|
||||
* devm_fpga_region_create(), it should register it with fpga_region_register().
|
||||
* The region driver's remove function should call fpga_region_unregister().
|
||||
@ -291,7 +291,7 @@ struct fpga_region
|
||||
EXPORT_SYMBOL_GPL(devm_fpga_region_create);
|
||||
|
||||
/**
|
||||
* fpga_region_register - register a FPGA region
|
||||
* fpga_region_register - register an FPGA region
|
||||
* @region: FPGA region
|
||||
*
|
||||
* Return: 0 or -errno
|
||||
@ -303,10 +303,10 @@ 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 an FPGA region
|
||||
* @region: FPGA region
|
||||
*
|
||||
* This function is intended for use in a FPGA region driver's remove function.
|
||||
* This function is intended for use in an FPGA region driver's remove function.
|
||||
*/
|
||||
void fpga_region_unregister(struct fpga_region *region)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user