diff options
author | Geert Uytterhoeven <[email protected]> | 2023-03-08 11:48:17 +0100 |
---|---|---|
committer | Geert Uytterhoeven <[email protected]> | 2023-03-10 16:31:14 +0100 |
commit | b39d242dbfd925d9f6b262bf216518e28445570d (patch) | |
tree | c91f97e659e10075624eae39d0752ac6e036d0c6 | |
parent | 18ecaaea2174c9494ec1ce354f58846367c29f45 (diff) |
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 <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Saravana Kannan <[email protected]>
Link: https://lore.kernel.org/r/d49b9fb20d68709b12692558aca91997e6b06fb4.1678272276.git.geert+renesas@glider.be
-rw-r--r-- | drivers/soc/renesas/rmobile-sysc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/renesas/rmobile-sysc.c b/drivers/soc/renesas/rmobile-sysc.c index 204e6135180b..728ebac98e14 100644 --- a/drivers/soc/renesas/rmobile-sysc.c +++ b/drivers/soc/renesas/rmobile-sysc.c @@ -343,7 +343,7 @@ static int __init rmobile_init_pm_domains(void) break; } - fwnode_dev_initialized(&np->fwnode, true); + fwnode_dev_initialized(of_fwnode_handle(np), true); } put_special_pds(); |