diff options
| author | Danilo Krummrich <[email protected]> | 2025-06-21 19:43:31 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-07-08 22:04:33 +0000 |
| commit | c46f60246f9ae372ecc1f10976a8af3914b3f79e (patch) | |
| tree | c0305ca2bf6257c16f3160354c064178cb38cc23 /samples/rust/rust_driver_pci.rs | |
| parent | rust: pci: use generic device drvdata accessors (diff) | |
| download | kernel-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
