soc: fsl: guts: use of_root instead of own reference
authorMichael Walle <michael@walle.cc>
Mon, 4 Apr 2022 09:56:07 +0000 (11:56 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 27 Jun 2022 06:51:56 +0000 (14:51 +0800)
commitb46dd0cb93decf58c43db0a39c1c047fc5315901
tree7196ddd31a01d7d6c9d4404fc24bc117314ac155
parent5d707e4e3fb5185b24a41d72f75599cc77afab61
soc: fsl: guts: use of_root instead of own reference

There is already a global of_root reference. Use that instead of getting
one on our own. We don't need to care about the reference count either
this way.

Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/fsl/guts.c