diff options
author | Yong Wu <yong.wu@mediatek.com> | 2019-01-01 12:51:05 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-20 11:55:57 +0100 |
commit | b600c5a14eb9676bd62e034d3c699f0405fe8ad9 (patch) | |
tree | 56816947ce5a48689feb1cd5a35cf88f75e56eb6 /Documentation | |
parent | 6bdf6513f33087fb2280c8c40439f362e7ee6fdc (diff) | |
download | linux-stable-b600c5a14eb9676bd62e034d3c699f0405fe8ad9.tar.gz linux-stable-b600c5a14eb9676bd62e034d3c699f0405fe8ad9.tar.bz2 linux-stable-b600c5a14eb9676bd62e034d3c699f0405fe8ad9.zip |
driver core: Remove the link if there is no driver with AUTO flag
commit 0fe6f7874d467456da6f6a221dd92499a3ab1780 upstream.
DL_FLAG_AUTOREMOVE_CONSUMER/SUPPLIER means "Remove the link
automatically on consumer/supplier driver unbind", that means we should
remove whole the device_link when there is no this driver no matter what
the ref_count of the link is.
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Signed-off-by: Saravana Kannan <saravanak@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions