From: Quanyang Wang <quanyang.w...@windriver.com> This part is removed in upstream commit 8886a579744fb ("fpga: region: Use standard dev_release for class driver), but introduced when merging. So we should drop it.
Signed-off-by: Quanyang Wang <quanyang.w...@windriver.com> --- Hi Bruce, Would you please help merge this patch to the branches: v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc v5.15/standard/sdkv5.15/xlnx-soc Thanks, Quanyang --- drivers/fpga/of-fpga-region.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/fpga/of-fpga-region.c b/drivers/fpga/of-fpga-region.c index f3c66e8fe6014..e997a58e0e21b 100644 --- a/drivers/fpga/of-fpga-region.c +++ b/drivers/fpga/of-fpga-region.c @@ -433,10 +433,6 @@ static int of_fpga_region_probe(struct platform_device *pdev) if (ret < 0) goto err_pm; - ret = fpga_region_register(region); - if (ret) - goto err_pm; - of_platform_populate(np, fpga_region_of_match, NULL, ®ion->dev); platform_set_drvdata(pdev, region); -- 2.36.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14054): https://lists.yoctoproject.org/g/linux-yocto/message/14054 Mute This Topic: https://lists.yoctoproject.org/mt/106736047/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-