summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorRahul Rameshbabu2025-09-14 03:19:19 +0000
committerGreg Kroah-Hartman2025-10-12 13:01:55 +0200
commit32df3ad0dbfbcd0f201df445ed1a6b6567056685 (patch)
tree06123c7e5f63dc845ba2076e10a44d15276ab48d /rust/kernel
parentc5828784c5b751bafec401f33eebee1ef44ef479 (diff)
rust: pci: fix incorrect platform reference in PCI driver unbind doc comment
commit a404d099554d17206d1f283c9a91f0616324f691 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel')
-rw-r--r--rust/kernel/pci.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/pci.rs b/rust/kernel/pci.rs
index c21cadfc879a..658e806a5da7 100644
--- a/rust/kernel/pci.rs
+++ b/rust/kernel/pci.rs
@@ -244,7 +244,7 @@ pub trait Driver: Send {
/// 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.