Skip to content

Commit 32df3ad

Browse files
Binary-Eatergregkh
authored andcommitted
rust: pci: fix incorrect platform reference in PCI driver unbind doc comment
commit a404d09 upstream. Substitute 'platform' with 'pci'. Fixes: 18ebb25 ("rust: pci: implement Driver::unbind()") Cc: [email protected] Signed-off-by: Rahul Rameshbabu <[email protected]> Signed-off-by: Danilo Krummrich <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c582878 commit 32df3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/kernel/pci.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ pub trait Driver: Send {
244244
/// attempt to initialize the device here.
245245
fn probe(dev: &Device<device::Core>, id_info: &Self::IdInfo) -> Result<Pin<KBox<Self>>>;
246246

247-
/// Platform driver unbind.
247+
/// PCI driver unbind.
248248
///
249249
/// Called when a [`Device`] is unbound from its bound [`Driver`]. Implementing this callback
250250
/// is optional.

0 commit comments

Comments
 (0)