aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2025-04-13 17:36:57 +0000
committerDanilo Krummrich <[email protected]>2025-04-17 13:21:27 +0000
commitfbb92b6a534081cabd75861ac9c7a8d29d8effda (patch)
treedabca481e3313c4be4a3badb3cba61d0db20b5c1 /rust/helpers/helpers.c
parentrust: device: implement impl_device_context_deref! (diff)
downloadkernel-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