On 4/27/22 06:34, Eugene Shalygin wrote:
Maybe I'd better leave a comment why module_platform_driver_probe() is used as opposed to module_platform_driver()? I think that one would be more straightforward...
You are correct, that is easier. I thought that it calls the probe function directly and bypasses the normal probe handling, but that is not the case. Sorry for the noise. Guenter