Message ID | 087ef57d899c93f45ceffb8f9c5df3ad850b1e85.1733403513.git.geert+renesas@glider.be (mailing list archive) |
---|---|
State | Handled Elsewhere, archived |
Headers | show |
Series | pmdomain: renesas: rcar-sysc: Drop fwnode_dev_initialized() call | expand |
On Thu, Dec 5, 2024 at 5:00 AM Geert Uytterhoeven <geert+renesas@glider.be> wrote: > > As of commit bab2d712eeaf9d60 ("PM: domains: Mark fwnodes when their > powerdomain is added/removed") in v5.12, the pmdomain core takes care of > marking the fwnode initialized, so there is no need to repeat it. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> If it works for you, Acked-by: Saravana Kannan <saravanak@google.com> -Saravana > --- > drivers/pmdomain/renesas/rcar-sysc.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/pmdomain/renesas/rcar-sysc.c b/drivers/pmdomain/renesas/rcar-sysc.c > index b99326917330f5f1..dce1a6d37e80127d 100644 > --- a/drivers/pmdomain/renesas/rcar-sysc.c > +++ b/drivers/pmdomain/renesas/rcar-sysc.c > @@ -434,8 +434,6 @@ static int __init rcar_sysc_pd_init(void) > } > > error = of_genpd_add_provider_onecell(np, &domains->onecell_data); > - if (!error) > - fwnode_dev_initialized(of_fwnode_handle(np), true); > > out_put: > of_node_put(np); > -- > 2.34.1 >
diff --git a/drivers/pmdomain/renesas/rcar-sysc.c b/drivers/pmdomain/renesas/rcar-sysc.c index b99326917330f5f1..dce1a6d37e80127d 100644 --- a/drivers/pmdomain/renesas/rcar-sysc.c +++ b/drivers/pmdomain/renesas/rcar-sysc.c @@ -434,8 +434,6 @@ static int __init rcar_sysc_pd_init(void) } error = of_genpd_add_provider_onecell(np, &domains->onecell_data); - if (!error) - fwnode_dev_initialized(of_fwnode_handle(np), true); out_put: of_node_put(np);
As of commit bab2d712eeaf9d60 ("PM: domains: Mark fwnodes when their powerdomain is added/removed") in v5.12, the pmdomain core takes care of marking the fwnode initialized, so there is no need to repeat it. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- drivers/pmdomain/renesas/rcar-sysc.c | 2 -- 1 file changed, 2 deletions(-)