diff options
| author | Danilo Krummrich <[email protected]> | 2025-04-13 17:36:59 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-04-17 13:21:45 +0000 |
| commit | da6c47c6cb45ffb392e016631c08098ad2a6d418 (patch) | |
| tree | 1ce1f64af980ee29a0cceecbd5e84e639723e9a4 /rust/helpers/helpers.c | |
| parent | rust: device: implement device context for Device (diff) | |
| download | kernel-da6c47c6cb45ffb392e016631c08098ad2a6d418.tar.gz kernel-da6c47c6cb45ffb392e016631c08098ad2a6d418.zip | |
rust: platform: preserve device context in AsRef
Since device::Device has a generic over its context, preserve this
device context in AsRef.
For instance, when calling platform::Device<Core> the new AsRef
implementation returns device::Device<Core>.
Reviewed-by: Benno Lossin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
