Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc: imx: Remove Layerscape check

Since commit 4ebd29f91629 ("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: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Fabio Estevam and committed by
Shawn Guo
c137fb89 e783362e

-3
-3
drivers/soc/imx/soc-imx.c
··· 40 40 if (!__mxc_cpu_type) 41 41 return 0; 42 42 43 - if (of_machine_is_compatible("fsl,ls1021a")) 44 - return 0; 45 - 46 43 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL); 47 44 if (!soc_dev_attr) 48 45 return -ENOMEM;