On Tue, Jun 1, 2021 at 7:11 AM Jacky Bai <ping.bai@xxxxxxx> wrote:ok, there is no problem in practical use. thanks all.
I think there is no chance to pass 'invalid of_id' and 'of_id_data' to the probe function.I agree. The only way this driver can probe is via device tree.
Such check seems not really necessary.
.