提交 c137fb89 编写于 作者: F Fabio Estevam 提交者: Shawn Guo

soc: imx: Remove Layerscape check

Since commit 4ebd29f9 ("soc: imx: Register SoC device only on i.MX
boards") the soc-imx driver is only registered on i.MX platforms as
intended.

This means that we no longer need to do a specific check for
Layerscape.

Remove the now unneeded "fsl,ls1021a" check.
Signed-off-by: NFabio Estevam <festevam@gmail.com>
Reviewed-by: NHoria Geantă <horia.geanta@nxp.com>
Signed-off-by: NShawn Guo <shawnguo@kernel.org>
上级 e783362e
...@@ -40,9 +40,6 @@ static int __init imx_soc_device_init(void) ...@@ -40,9 +40,6 @@ static int __init imx_soc_device_init(void)
if (!__mxc_cpu_type) if (!__mxc_cpu_type)
return 0; return 0;
if (of_machine_is_compatible("fsl,ls1021a"))
return 0;
soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL); soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
if (!soc_dev_attr) if (!soc_dev_attr)
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册