diff options
author | Rahul Rameshbabu <sergeantsagara@protonmail.com> | 2025-09-14 03:19:19 +0000 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-09-17 12:51:07 +0200 |
commit | a404d099554d17206d1f283c9a91f0616324f691 (patch) | |
tree | 64a3b40e80190ab7453ea550c2bd3fb65bac115b /rust/kernel | |
parent | c319c4ec062477edd0d14b79e2f3a9bd26a9a82e (diff) |
rust: pci: fix incorrect platform reference in PCI driver unbind doc comment
Substitute 'platform' with 'pci'.
Fixes: 18ebb25dfa18 ("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>
Diffstat (limited to 'rust/kernel')
-rw-r--r-- | rust/kernel/pci.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/pci.rs b/rust/kernel/pci.rs index 78271bf88cea..b80e13216960 100644 --- a/rust/kernel/pci.rs +++ b/rust/kernel/pci.rs @@ -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. |