diff options
author | Saravana Kannan <saravanak@google.com> | 2021-03-02 13:11:30 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-23 14:58:10 +0100 |
commit | f2db85b64f0af1410ccb8ebcc9d7fa38e99feee9 (patch) | |
tree | 113e0dc325b8c52029fcc9c8e043f35c3cd841c4 /drivers/base/base.h | |
parent | 01085e24ff0ae775e7407a6e40c2156a724ae884 (diff) |
driver core: Avoid pointless deferred probe attempts
There's no point in adding a device to the deferred probe list if we
know for sure that it doesn't have a matching driver. So, check if a
device can match with a driver before adding it to the deferred probe
list.
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20210302211133.2244281-2-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/base.h')
0 files changed, 0 insertions, 0 deletions