aboutsummaryrefslogtreecommitdiffstats
path: root/samples/rust/rust_driver_pci.rs
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2025-06-21 19:43:31 +0000
committerDanilo Krummrich <[email protected]>2025-07-08 22:04:33 +0000
commitc46f60246f9ae372ecc1f10976a8af3914b3f79e (patch)
treec0305ca2bf6257c16f3160354c064178cb38cc23 /samples/rust/rust_driver_pci.rs
parentrust: pci: use generic device drvdata accessors (diff)
downloadkernel-c46f60246f9ae372ecc1f10976a8af3914b3f79e.tar.gz
kernel-c46f60246f9ae372ecc1f10976a8af3914b3f79e.zip
rust: auxiliary: use generic device drvdata accessors
Take advantage of the generic drvdata accessors of the generic Device type. While at it, use from_result() instead of match. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_pci.rs')
0 files changed, 0 insertions, 0 deletions