Re: [linux-yocto][v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc][PATCH] fpga: region: Drop unneeded part due to merge issue

2024-06-18 Thread Bruce Ashfield
In message: [linux-yocto][v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc][PATCH] 
fpga: region: Drop unneeded part due to merge issue
on 18/06/2024 quanyang.w...@windriver.com wrote:

> From: Quanyang Wang 
> 
> 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 
> ---
> 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

merged.

Bruce

> 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, >dev);
>   platform_set_drvdata(pdev, region);
>  
> -- 
> 2.36.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14063): 
https://lists.yoctoproject.org/g/linux-yocto/message/14063
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]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto][v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc][PATCH] fpga: region: Drop unneeded part due to merge issue

2024-06-17 Thread quanyang.wang via lists.yoctoproject.org
From: Quanyang Wang 

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 
---
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, >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]
-=-=-=-=-=-=-=-=-=-=-=-