Substitute 'platform' with 'pci' where appropriate in the comments. Signed-off-by: Rahul Rameshbabu <sergeantsag...@protonmail.com> Fixes: 1bd8b6b2c5d3 ("rust: pci: add basic PCI device / driver abstractions") Fixes: 18ebb25dfa18 ("rust: pci: implement Driver::unbind()") --- rust/kernel/pci.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rust/kernel/pci.rs b/rust/kernel/pci.rs index 887ee611b553..658e806a5da7 100644 --- a/rust/kernel/pci.rs +++ b/rust/kernel/pci.rs @@ -240,11 +240,11 @@ pub trait Driver: Send { /// PCI driver probe. /// - /// Called when a new platform device is added or discovered. - /// Implementers should attempt to initialize the device here. + /// Called when a new pci device is added or discovered. 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. -- 2.49.0