soc: imx: Remove Layerscape check
Fabio Estevam
reviewerPATCH 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:
drivers/soc/imx/soc-imx.c | 3 --- 1 file changed, 3 deletions(-)
drivers/soc/imx/soc-imx.c +0 -3
@@ -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
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.
Signed-off-by Fabio Estevam <[email protected]>
Regards,
Horia
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Shawn Guo
AppliedQuoted 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.
Signed-off-by Fabio Estevam <[email protected]>
Applied, thanks!
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel