From 32df3ad0dbfbcd0f201df445ed1a6b6567056685 Mon Sep 17 00:00:00 2001 From: Rahul Rameshbabu Date: Sun, 14 Sep 2025 03:19:19 +0000 Subject: [PATCH] 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 Signed-off-by: Danilo Krummrich Signed-off-by: Greg Kroah-Hartman --- rust/kernel/pci.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, 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.