-
由 Stefan Agner 提交于
If power domain information are missing in the device tree, no power domains get initialized. However, imx_gpc_remove tries to remove power domains always in the old DT binding case. Only remove power domains when imx_gpc_probe initialized them in first place. Fixes: 721cabf6 ("soc: imx: move PGC handling to a new GPC driver") Signed-off-by: NStefan Agner <stefan@agner.ch> Reviewed-by: NLucas Stach <l.stach@pengutronix.de> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
7801c545