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

From: Fabio Estevam
Date: Tue Jun 01 2021 - 10:04:38 EST


On Tue, Jun 1, 2021 at 7:11 AM Jacky Bai <ping.bai@xxxxxxx> 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.