Commit c137fb89 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo
Browse files

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: default avatarFabio Estevam <festevam@gmail.com>
Reviewed-by: default avatarHoria Geantă <horia.geanta@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent e783362e
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -40,9 +40,6 @@ static int __init imx_soc_device_init(void)
	if (!__mxc_cpu_type)
		return 0;

	if (of_machine_is_compatible("fsl,ls1021a"))
		return 0;

	soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL);
	if (!soc_dev_attr)
		return -ENOMEM;