linux/drivers/fpga/fpga-mgr.c
/**
 * fpga_mgr_unregister - unregister and free a FPGA manager
 * @mgr:	fpga manager struct
 */
unregister and free a FPGA manager
@mgr:        fpga manager struct
unregister and free a FPGA manager @mgr : fpga manager struct
void fpga_mgr_unregister(struct fpga_manager *mgr)
{
	dev_info(&mgr->dev, "%s %s\n", __func__, mgr->name);
	if (mgr->mops->fpga_remove)
		mgr->mops->fpga_remove(mgr);
	device_unregister(&mgr->dev);
}
void fpga_mgr_unregister ( struct fpga_manager * mgr ) { dev_info ( & mgr -> dev , " \n " , __func__ , mgr -> name ) ; if ( mgr -> mops -> fpga_remove ) mgr -> mops -> fpga_remove ( mgr ) ; device_unregister ( & mgr -> dev ) ; }
fpga_mgr_unregister - unregister and free a FPGA manager
 @mgr:        fpga manager struct
fpga_mgr_unregister - unregister and free a FPGA manager @mgr : fpga manager struct
/*
	 * If the low level driver provides a method for putting fpga into
	 * a desired state upon unregister, do it.
	 */