diff options
| author | Igor Korotin <[email protected]> | 2025-06-20 15:24:25 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-06-26 21:22:17 +0000 |
| commit | a74931eb59cf6b914e1b9471d9abd4429176f6af (patch) | |
| tree | 785de7ab6e42ea4cea021f5c12bd8237215b8e0c /samples/rust/rust_driver_platform.rs | |
| parent | samples: rust: platform: conditionally call Self::properties_parse() (diff) | |
| download | kernel-a74931eb59cf6b914e1b9471d9abd4429176f6af.tar.gz kernel-a74931eb59cf6b914e1b9471d9abd4429176f6af.zip | |
rust: acpi: add `acpi::DeviceId` abstraction
`acpi::DeviceId` is an abstraction around `struct acpi_device_id`.
Enable drivers to build ACPI device ID tables, to be consumed by the
corresponding bus abstractions, such as platform or I2C.
Signed-off-by: Igor Korotin <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Always inline DeviceId::new() and use &'static CStr; slightly reword
commit message. - Danilo ]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_platform.rs')
0 files changed, 0 insertions, 0 deletions
