[PATCH -next] soc: imx: gpc: add check for of_match_device in imx_gpc_old_dt_init

Fabio Estevam festevam at gmail.com
Tue Jun 1 07:04:21 PDT 2021


On Tue, Jun 1, 2021 at 7:11 AM Jacky Bai <ping.bai at nxp.com> wrote:

> I think there is no chance to pass 'invalid of_id' and 'of_id_data' to the probe function.
> Such check seems not really necessary.

I agree. The only way this driver can probe is via device tree.



More information about the linux-arm-kernel mailing list