diff options
author | 2021-03-02 13:11:30 -0800 | |
---|---|---|
committer | 2021-03-23 14:58:10 +0100 | |
commit | f2db85b64f0af1410ccb8ebcc9d7fa38e99feee9 (patch) | |
tree | 113e0dc325b8c52029fcc9c8e043f35c3cd841c4 /drivers/base/platform.c | |
parent | devtmpfs: actually reclaim some init memory (diff) | |
download | linux-rng-f2db85b64f0af1410ccb8ebcc9d7fa38e99feee9.tar.xz linux-rng-f2db85b64f0af1410ccb8ebcc9d7fa38e99feee9.zip |
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/platform.c')
0 files changed, 0 insertions, 0 deletions