diff options
| author | Danilo Krummrich <[email protected]> | 2025-04-13 17:36:57 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-04-17 13:21:27 +0000 |
| commit | fbb92b6a534081cabd75861ac9c7a8d29d8effda (patch) | |
| tree | dabca481e3313c4be4a3badb3cba61d0db20b5c1 /rust/helpers/helpers.c | |
| parent | rust: device: implement impl_device_context_deref! (diff) | |
| download | kernel-fbb92b6a534081cabd75861ac9c7a8d29d8effda.tar.gz kernel-fbb92b6a534081cabd75861ac9c7a8d29d8effda.zip | |
rust: device: implement impl_device_context_into_aref!
Implement a macro to implement all From conversions of a certain device
to ARef<Device>.
This avoids unnecessary boiler plate code for every device
implementation.
Reviewed-by: Benno Lossin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Add missing `::` prefix in macros. - Danilo ]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
