On 23 May 2018 at 17:17, <ilia...@codeaurora.org> wrote: > The nvmem will return EPROBE_DEFER, and so will my driver's init. But then no > one will call the init again.
So even your driver needs to be registered as a platform driver then and you can create its device from the init function, and add a comment on why you create the platform device in the driver itself. -- viresh