]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf127f4936e8792119a0b7161e8fe89bf395a36cb
tree98fc592388c08229ae9de1f30898fa093f267ba5
parent0e6c92ce1d170795a396f8108369eb2c8412797f
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