Files
linux/rust/kernel
Danilo Krummrich cb271c2edf 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]>
2025-04-17 15:21:11 +02:00
..
2025-03-10 15:12:17 +01:00
2025-03-16 21:59:19 +01:00
2025-02-22 15:44:19 +01:00
2025-03-16 21:59:19 +01:00
2024-12-20 17:21:04 +01:00
2024-10-08 15:44:36 +02:00
2025-03-16 21:59:19 +01:00
2024-12-20 17:19:26 +01:00
2024-11-04 16:21:44 -05:00
2025-03-16 21:59:19 +01:00