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

From: tongtiangen
Date: Tue Jun 01 2021 - 22:06:57 EST




On 2021/6/1 22:04, Fabio Estevam wrote:
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.
.
ok, there is no problem in practical use. thanks all.