soc: imx8m: No need to put node when of_find_compatible_node() failed
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 17 Mar 2020 01:37:33 +0000 (09:37 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 14 Apr 2020 13:51:58 +0000 (21:51 +0800)
commit04df45fba52177f796a20642b92fdc44e489e174
tree98fc592388c08229ae9de1f30898fa093f267ba5
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
soc: imx8m: No need to put node when of_find_compatible_node() failed

No need to put node when of_find_compatible_node() failed, return
immediately to simplify the code.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/soc-imx8m.c