diff options
author | Vivek Gautam <vivek.gautam@codeaurora.org> | 2018-06-27 14:50:56 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-07-09 12:14:31 +0200 |
commit | 1689cac5b32a6db6f812e8063ea418a7cf023d03 (patch) | |
tree | 165be23752f68df71466619de2601bcc12d3714d /mm | |
parent | driver core: Rename flag AUTOREMOVE to AUTOREMOVE_CONSUMER (diff) | |
download | linux-1689cac5b32a6db6f812e8063ea418a7cf023d03.tar.xz linux-1689cac5b32a6db6f812e8063ea418a7cf023d03.zip |
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 'mm')
0 files changed, 0 insertions, 0 deletions