diff options
| author | Danilo Krummrich <dakr@kernel.org> | 2025-10-21 00:34:26 +0200 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2025-10-29 18:29:32 +0100 |
| commit | e4e679c8608e5c747081cc6ce63ee0b0e524c68d (patch) | |
| tree | ba5c0a8dbb8abd3efae0bab5de059bc69c2b2e75 /rust/kernel/workqueue.rs | |
| parent | 589b061975db3c7e87b819cc9a8006eb99ac4b5f (diff) | |
rust: auxiliary: unregister on parent device unbind
Guarantee that an auxiliary driver will be unbound before its parent is
unbound; there is no point in operating an auxiliary device whose parent
has been unbound.
In practice, this guarantee allows us to assume that for a bound
auxiliary device, also the parent device is bound.
This is useful when an auxiliary driver calls into its parent, since it
allows the parent to directly access device resources and its device
private data due to the guaranteed bound device context.
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions
