Searched refs:fme_br (Results 1 – 1 of 1) sorted by relevance
238 struct dfl_fme_bridge *fme_br; in dfl_fme_create_bridge() local241 fme_br = devm_kzalloc(dev, sizeof(*fme_br), GFP_KERNEL); in dfl_fme_create_bridge()242 if (!fme_br) in dfl_fme_create_bridge()248 fme_br->br = platform_device_alloc(DFL_FPGA_FME_BRIDGE, in dfl_fme_create_bridge()250 if (!fme_br->br) in dfl_fme_create_bridge()253 fme_br->br->dev.parent = dev; in dfl_fme_create_bridge()255 ret = platform_device_add_data(fme_br->br, &br_pdata, sizeof(br_pdata)); in dfl_fme_create_bridge()259 ret = platform_device_add(fme_br->br); in dfl_fme_create_bridge()263 return fme_br; in dfl_fme_create_bridge()266 platform_device_put(fme_br->br); in dfl_fme_create_bridge()[all …]