Skip to content

Commit b39d242

Browse files
committed
soc: renesas: rmobile-sysc: Use of_fwnode_handle() helper
Use the existing of_fwnode_handle() helper instead of open-coding the same operation. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Saravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/d49b9fb20d68709b12692558aca91997e6b06fb4.1678272276.git.geert+renesas@glider.be
1 parent 18ecaae commit b39d242

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/soc/renesas/rmobile-sysc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ static int __init rmobile_init_pm_domains(void)
343343
break;
344344
}
345345

346-
fwnode_dev_initialized(&np->fwnode, true);
346+
fwnode_dev_initialized(of_fwnode_handle(np), true);
347347
}
348348

349349
put_special_pds();

0 commit comments

Comments
 (0)