On Wed, Apr 28, 2021 at 12:56:21AM -0700, Dan Williams wrote: > > I still think this going the wrong way. Why can't we enhance the core > > driver code with a version of device_bind_driver() that does call into > > ->probe? That probably seems like a better model for those existing > > direct users of device_bind_driver or device_attach with a pre-set > > ->drv anyway. > > Wouldn't that just be "export device_driver_attach()" so that drivers > can implement their own custom bind implementation? That looks like it might be all that is needed.