linux/drivers/fpga/fpga-mgr.c
/**
 * fpga_image_info_free - Free a FPGA image info struct
 * @info: FPGA image info struct to free
 */
Free a FPGA image info struct
@info: FPGA image info struct to free
Free a FPGA image info struct @info : FPGA image info struct to free
void fpga_image_info_free(struct fpga_image_info *info)
{
	struct device *dev;
	if (!info)
		return;
	dev = info->dev;
	if (info->firmware_name)
		devm_kfree(dev, info->firmware_name);
	devm_kfree(dev, info);
	put_device(dev);
}
void fpga_image_info_free ( struct fpga_image_info * info ) { struct device * dev ; if ( ! info ) return ; dev = info -> dev ; if ( info -> firmware_name ) devm_kfree ( dev , info -> firmware_name ) ; devm_kfree ( dev , info ) ; put_device ( dev ) ; }
fpga_image_info_free - Free a FPGA image info struct
 @info: FPGA image info struct to free
fpga_image_info_free - Free a FPGA image info struct @info : FPGA image info struct to free