mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
rust: pci: fix incorrect platform reference in PCI driver unbind doc comment
Substitute 'platform' with 'pci'.
Fixes: 18ebb25dfa ("rust: pci: implement Driver::unbind()")
Cc: stable@kernel.org
Signed-off-by: Rahul Rameshbabu <sergeantsagara@protonmail.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
committed by
Danilo Krummrich
parent
c319c4ec06
commit
a404d09955
@@ -274,7 +274,7 @@ pub trait Driver: Send {
|
||||
/// Implementers should attempt to initialize the device here.
|
||||
fn probe(dev: &Device<device::Core>, id_info: &Self::IdInfo) -> Result<Pin<KBox<Self>>>;
|
||||
|
||||
/// Platform driver unbind.
|
||||
/// PCI driver unbind.
|
||||
///
|
||||
/// Called when a [`Device`] is unbound from its bound [`Driver`]. Implementing this callback
|
||||
/// is optional.
|
||||
|
||||
Reference in New Issue
Block a user