rust: pci: fix incorrect platform reference in PCI driver unbind doc comment
PATCH 1/1 rust: pci: fix incorrect platform reference in PCI driver unbind doc comment
Substitute 'platform' with 'pci'.
Link https://lore.kernel.org/rust-for-linux/CANiq72msM5PT2mYKrX_RPXYtA4vapMRO=iSex1gQZqiXdpvvDA@mail.gmail.com/ open here
Fixes 18ebb25dfa18 ("rust: pci: implement Driver::unbind()")
Signed-off-by Rahul Rameshbabu <[email protected]>
--- rust/kernel/pci.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
rust/kernel/pci.rs +1 -1
@@ -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
Danilo Krummrich
maintainerQuoted 5 lines · Rahul Rameshbabu
Substitute 'platform' with 'pci'.
Link https://lore.kernel.org/rust-for-linux/CANiq72msM5PT2mYKrX_RPXYtA4vapMRO=iSex1gQZqiXdpvvDA@mail.gmail.com/ open hereFixes 18ebb25dfa18 ("rust: pci: implement Driver::unbind()")Signed-off-by Rahul Rameshbabu <[email protected]>
Applied to driver-core-testing, thanks!