fpga-mgr: 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-9-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tom Rix 2021-06-08 14:23:46 -07:00 committed by Greg Kroah-Hartman
parent e7555cf6c2
commit 895ec9c09a
2 changed files with 12 additions and 12 deletions

View File

@ -26,7 +26,7 @@ struct fpga_mgr_devres {
}; };
/** /**
* fpga_image_info_alloc - Allocate a FPGA image info struct * fpga_image_info_alloc - Allocate an FPGA image info struct
* @dev: owning device * @dev: owning device
* *
* Return: struct fpga_image_info or NULL * Return: struct fpga_image_info or NULL
@ -50,7 +50,7 @@ struct fpga_image_info *fpga_image_info_alloc(struct device *dev)
EXPORT_SYMBOL_GPL(fpga_image_info_alloc); EXPORT_SYMBOL_GPL(fpga_image_info_alloc);
/** /**
* fpga_image_info_free - Free a FPGA image info struct * fpga_image_info_free - Free an FPGA image info struct
* @info: FPGA image info struct to free * @info: FPGA image info struct to free
*/ */
void fpga_image_info_free(struct fpga_image_info *info) void fpga_image_info_free(struct fpga_image_info *info)
@ -470,7 +470,7 @@ static int fpga_mgr_dev_match(struct device *dev, const void *data)
} }
/** /**
* fpga_mgr_get - Given a device, get a reference to a fpga mgr. * fpga_mgr_get - Given a device, get a reference to an fpga mgr.
* @dev: parent device that fpga mgr was registered with * @dev: parent device that fpga mgr was registered with
* *
* Return: fpga manager struct or IS_ERR() condition containing error code. * Return: fpga manager struct or IS_ERR() condition containing error code.
@ -487,7 +487,7 @@ struct fpga_manager *fpga_mgr_get(struct device *dev)
EXPORT_SYMBOL_GPL(fpga_mgr_get); EXPORT_SYMBOL_GPL(fpga_mgr_get);
/** /**
* of_fpga_mgr_get - Given a device node, get a reference to a fpga mgr. * of_fpga_mgr_get - Given a device node, get a reference to an fpga mgr.
* *
* @node: device node * @node: device node
* *
@ -506,7 +506,7 @@ struct fpga_manager *of_fpga_mgr_get(struct device_node *node)
EXPORT_SYMBOL_GPL(of_fpga_mgr_get); EXPORT_SYMBOL_GPL(of_fpga_mgr_get);
/** /**
* fpga_mgr_put - release a reference to a fpga manager * fpga_mgr_put - release a reference to an fpga manager
* @mgr: fpga manager structure * @mgr: fpga manager structure
*/ */
void fpga_mgr_put(struct fpga_manager *mgr) void fpga_mgr_put(struct fpga_manager *mgr)
@ -550,7 +550,7 @@ void fpga_mgr_unlock(struct fpga_manager *mgr)
EXPORT_SYMBOL_GPL(fpga_mgr_unlock); EXPORT_SYMBOL_GPL(fpga_mgr_unlock);
/** /**
* fpga_mgr_create - create and initialize a FPGA manager struct * fpga_mgr_create - create and initialize an FPGA manager struct
* @dev: fpga manager device from pdev * @dev: fpga manager device from pdev
* @name: fpga manager name * @name: fpga manager name
* @mops: pointer to structure of fpga manager ops * @mops: pointer to structure of fpga manager ops
@ -617,7 +617,7 @@ error_kfree:
EXPORT_SYMBOL_GPL(fpga_mgr_create); EXPORT_SYMBOL_GPL(fpga_mgr_create);
/** /**
* fpga_mgr_free - free a FPGA manager created with fpga_mgr_create() * fpga_mgr_free - free an FPGA manager created with fpga_mgr_create()
* @mgr: fpga manager struct * @mgr: fpga manager struct
*/ */
void fpga_mgr_free(struct fpga_manager *mgr) void fpga_mgr_free(struct fpga_manager *mgr)
@ -641,7 +641,7 @@ static void devm_fpga_mgr_release(struct device *dev, void *res)
* @mops: pointer to structure of fpga manager ops * @mops: pointer to structure of fpga manager ops
* @priv: fpga manager private data * @priv: fpga manager private data
* *
* This function is intended for use in a FPGA manager driver's probe function. * This function is intended for use in an FPGA manager driver's probe function.
* After the manager driver creates the manager struct with * After the manager driver creates the manager struct with
* devm_fpga_mgr_create(), it should register it with fpga_mgr_register(). The * devm_fpga_mgr_create(), it should register it with fpga_mgr_register(). The
* manager driver's remove function should call fpga_mgr_unregister(). The * manager driver's remove function should call fpga_mgr_unregister(). The
@ -674,7 +674,7 @@ struct fpga_manager *devm_fpga_mgr_create(struct device *dev, const char *name,
EXPORT_SYMBOL_GPL(devm_fpga_mgr_create); EXPORT_SYMBOL_GPL(devm_fpga_mgr_create);
/** /**
* fpga_mgr_register - register a FPGA manager * fpga_mgr_register - register an FPGA manager
* @mgr: fpga manager struct * @mgr: fpga manager struct
* *
* Return: 0 on success, negative error code otherwise. * Return: 0 on success, negative error code otherwise.
@ -706,10 +706,10 @@ error_device:
EXPORT_SYMBOL_GPL(fpga_mgr_register); EXPORT_SYMBOL_GPL(fpga_mgr_register);
/** /**
* fpga_mgr_unregister - unregister a FPGA manager * fpga_mgr_unregister - unregister an FPGA manager
* @mgr: fpga manager struct * @mgr: fpga manager struct
* *
* This function is intended for use in a FPGA manager driver's remove function. * This function is intended for use in an FPGA manager driver's remove function.
*/ */
void fpga_mgr_unregister(struct fpga_manager *mgr) void fpga_mgr_unregister(struct fpga_manager *mgr)
{ {

View File

@ -75,7 +75,7 @@ enum fpga_mgr_states {
#define FPGA_MGR_COMPRESSED_BITSTREAM BIT(4) #define FPGA_MGR_COMPRESSED_BITSTREAM BIT(4)
/** /**
* struct fpga_image_info - information specific to a FPGA image * struct fpga_image_info - information specific to an FPGA image
* @flags: boolean flags as defined above * @flags: boolean flags as defined above
* @enable_timeout_us: maximum time to enable traffic through bridge (uSec) * @enable_timeout_us: maximum time to enable traffic through bridge (uSec)
* @disable_timeout_us: maximum time to disable traffic through bridge (uSec) * @disable_timeout_us: maximum time to disable traffic through bridge (uSec)