Skip to contentSkip to conversation

soc: imx: Remove Layerscape check

PATCH Applied Fabio Estevam 3 participants 3 messages Dec 8, 2021 – Jan 26, 2022 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 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.

---
Commit 4ebd29f91629 ("soc: imx: Register SoC device only on i.MX boards") is currently in Shawn's imx/fixes branch:

https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?h=imx/fixes&id=4ebd29f91629e69da7d57390cdc953772eee03ab

 drivers/soc/imx/soc-imx.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/soc/imx/soc-imx.c +0 -3
index 77bc12039c3d..fab668c83f98 100644
@@ -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;
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Fabio Estevam

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.

Regards,
Horia

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Applied
#2 lore raw
In reply to Fabio Estevam
Quoted 10 lines · Fabio Estevam

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.

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel