Skip to contentSkip to conversation

rust: pci: fix incorrect platform reference in PCI driver unbind doc comment

PATCH In review Rahul Rameshbabu 2 participants 2 messages Sep 14, 2025 – Sep 17, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rust: pci: fix incorrect platform reference in PCI driver unbind doc comment

Substitute 'platform' with 'pci'.

---
 rust/kernel/pci.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
rust/kernel/pci.rs +1 -1
index 887ee611b553..a07a7fd3d94b 100644
@@ -244,7 +244,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.

base-commit: 099381a08db3539c6aab6616c94d7950d74fcd2d

Signature · 1 line
2.47.2