The imx_pgc_power_down() sneaked in due to a mistake
in commit 019cfa5ce68d ("LF-4674 soc: imx: gpcv2: Fix
imx7d pcie & csi failure caused by power domain"),
but there is none of usage of it. So delete it to fix
the "defined but not used" build error.Signed-off-by: Xiaolei Wang <[email protected]> --- drivers/soc/imx/gpcv2.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/soc/imx/gpcv2.c b/drivers/soc/imx/gpcv2.c index da609613ce14..20e6ef56ec3b 100644 --- a/drivers/soc/imx/gpcv2.c +++ b/drivers/soc/imx/gpcv2.c @@ -216,12 +216,6 @@ static int imx_gpc_pu_pgc_sw_pup_req(struct generic_pm_domain *genpd) return imx_gpc_pu_pgc_sw_pxx_req(genpd, true); } -static int imx_pgc_power_down(struct generic_pm_domain *genpd) -{ - return imx_gpc_pu_pgc_sw_pxx_req(genpd, true); - -} - static int imx_gpc_pu_pgc_sw_pdn_req(struct generic_pm_domain *genpd) { return imx_gpc_pu_pgc_sw_pxx_req(genpd, false); -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11291): https://lists.yoctoproject.org/g/linux-yocto/message/11291 Mute This Topic: https://lists.yoctoproject.org/mt/91030144/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
