aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/auxiliary.c
Commit message (Collapse)AuthorAgeFilesLines
* rust: auxiliary: use generic device drvdata accessorsDanilo Krummrich2025-07-081-10/+0
| | | | | | | | | | Take advantage of the generic drvdata accessors of the generic Device type. While at it, use from_result() instead of match. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
* rust: auxiliary: add auxiliary device / driver abstractionsDanilo Krummrich2025-04-191-0/+23
Implement the basic auxiliary abstractions required to implement a driver matching an auxiliary device. The design and implementation is analogous to PCI and platform and is based on the generic device / driver abstractions. Acked-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Fix typos, `let _ =` => `drop()`, use `kernel::ffi`. - Danilo ] Signed-off-by: Danilo Krummrich <[email protected]>