summaryrefslogtreecommitdiff
path: root/drivers/soc/imx/soc-imx.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2021-12-08 23:12:11 +0300
committerShawn Guo <shawnguo@kernel.org>2022-01-28 12:46:08 +0300
commitc137fb8909c1d14f2fca43ceaaf68ba26731741d (patch)
tree32e954f315e3a202546e63d93d1eaef8a56d5ba2 /drivers/soc/imx/soc-imx.c
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
downloadlinux-c137fb8909c1d14f2fca43ceaaf68ba26731741d.tar.xz
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>
Diffstat (limited to 'drivers/soc/imx/soc-imx.c')
-rw-r--r--drivers/soc/imx/soc-imx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/soc/imx/soc-imx.c b/drivers/soc/imx/soc-imx.c
index 77bc12039c3d..fab668c83f98 100644
--- a/drivers/soc/imx/soc-imx.c
+++ b/drivers/soc/imx/soc-imx.c
@@ -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;