Skip to content

Commit a404d09

Browse files
Binary-EaterDanilo Krummrich
authored andcommitted
rust: pci: fix incorrect platform reference in PCI driver unbind doc comment
Substitute 'platform' with 'pci'. Fixes: 18ebb25 ("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>
1 parent c319c4e commit a404d09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/pci.rs

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

277-
/// Platform driver unbind.
277+
/// PCI driver unbind.
278278
///
279279
/// Called when a [`Device`] is unbound from its bound [`Driver`]. Implementing this callback
280280
/// is optional.

0 commit comments

Comments
 (0)