aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2025-04-13 17:36:56 +0000
committerDanilo Krummrich <[email protected]>2025-04-17 13:21:11 +0000
commitcb271c2edfd0ab7204d5ef3c9d5ae9a0710f5bf2 (patch)
tree953fdf1e4af2226572ed8db14f3a471da3aadd82 /rust/helpers/helpers.c
parentLinux 6.15-rc1 (diff)
downloadkernel-cb271c2edfd0ab7204d5ef3c9d5ae9a0710f5bf2.tar.gz
kernel-cb271c2edfd0ab7204d5ef3c9d5ae9a0710f5bf2.zip
rust: device: implement impl_device_context_deref!
The Deref hierarchy for device context generics is the same for every (bus specific) device. Implement those with a generic macro to avoid duplicated boiler plate code and ensure the correct Deref hierarchy for every device implementation. Co-developed-by: Benno Lossin <[email protected]> Signed-off-by: Benno Lossin <[email protected]> Reviewed-by: Christian Schrefl <[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