* [PATCH] soc: imx: Remove Layerscape check
@ 2021-12-08 20:12 Fabio Estevam
2021-12-08 21:55 ` Horia Geantă
2022-01-26 2:34 ` Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2021-12-08 20:12 UTC (permalink / raw)
To: shawnguo
Cc: horia.geanta, peng.fan, linux-imx, kernel, stephan,
linux-arm-kernel, 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 <festevam@gmail.com>
---
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(-)
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;
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] soc: imx: Remove Layerscape check
2021-12-08 20:12 [PATCH] soc: imx: Remove Layerscape check Fabio Estevam
@ 2021-12-08 21:55 ` Horia Geantă
2022-01-26 2:34 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Horia Geantă @ 2021-12-08 21:55 UTC (permalink / raw)
To: Fabio Estevam, shawnguo@kernel.org
Cc: Peng Fan, dl-linux-imx, kernel@pengutronix.de,
stephan@gerhold.net, linux-arm-kernel@lists.infradead.org
On 12/8/2021 10:13 PM, Fabio Estevam wrote:
> 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>
Regards,
Horia
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] soc: imx: Remove Layerscape check
2021-12-08 20:12 [PATCH] soc: imx: Remove Layerscape check Fabio Estevam
2021-12-08 21:55 ` Horia Geantă
@ 2022-01-26 2:34 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2022-01-26 2:34 UTC (permalink / raw)
To: Fabio Estevam
Cc: horia.geanta, peng.fan, linux-imx, kernel, stephan,
linux-arm-kernel
On Wed, Dec 08, 2021 at 05:12:11PM -0300, Fabio Estevam wrote:
> 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>
Applied, thanks!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-26 2:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-08 20:12 [PATCH] soc: imx: Remove Layerscape check Fabio Estevam
2021-12-08 21:55 ` Horia Geantă
2022-01-26 2:34 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).