driver_probe_device — attempt to bind device & driver.
int driver_probe_device ( | struct device_driver * | drv, |
struct device * | dev) ; |
First, we call the bus's match function, if one present, which should compare the device IDs the driver supports with the device IDs of the device. Note we don't do this ourselves because we don't know the format of the ID structures, nor what is to be considered a match and what is not.
If we find a match, we call drv
->probe(dev
) if it exists, and
call device_bind_driver
above.