diff options
author | Vivek Gautam <vivek.gautam@codeaurora.org> | 2018-06-27 18:20:56 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-07-09 12:14:31 +0200 |
commit | 1689cac5b32a6db6f812e8063ea418a7cf023d03 (patch) | |
tree | 165be23752f68df71466619de2601bcc12d3714d /drivers/base/module.c | |
parent | e88728f46cfbb59cc7e7acf1d230c05ec093764e (diff) | |
download | linux-1689cac5b32a6db6f812e8063ea418a7cf023d03.tar.bz2 |
driver core: Add flag to autoremove device link on supplier unbind
Add a flag to autoremove the device links on supplier driver
unbind. This obviates the need to explicitly delete the link
in the remove path.
We remove these links only when the supplier's link to its
consumers has gone to DL_STATE_SUPPLIER_UNBIND state.
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Suggested-by: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/module.c')
0 files changed, 0 insertions, 0 deletions