From: Rahul Rameshbabu Date: Sun, 14 Sep 2025 03:19:19 +0000 (+0000) Subject: rust: pci: fix incorrect platform reference in PCI driver unbind doc comment X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a404d099554d17206d1f283c9a91f0616324f691;p=thirdparty%2Fkernel%2Fstable.git 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 Signed-off-by: Danilo Krummrich --- diff --git a/rust/kernel/pci.rs b/rust/kernel/pci.rs index 78271bf88ceaf..b80e132169601 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, id_info: &Self::IdInfo) -> Result>>; - /// Platform driver unbind. + /// PCI driver unbind. /// /// Called when a [`Device`] is unbound from its bound [`Driver`]. Implementing this callback /// is optional.