]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
samples: rust: add ACPI match table example to platform driver
authorIgor Korotin <igor.korotin.linux@gmail.com>
Fri, 20 Jun 2025 15:45:52 +0000 (16:45 +0100)
committerDanilo Krummrich <dakr@kernel.org>
Thu, 26 Jun 2025 21:26:15 +0000 (23:26 +0200)
commit140a9d0437b2a0d82e05b33973d9fc42c1d1c2ea
tree56fbfd317c77223b2d0b64c96c21977e28210bc1
parent8411e6f06a022679a642c236724944057b90e60e
samples: rust: add ACPI match table example to platform driver

Extend the Rust sample platform driver to probe using device/driver name
matching, OF ID table matching, or ACPI ID table matching.

Signed-off-by: Igor Korotin <igor.korotin.linux@gmail.com>
Link: https://lore.kernel.org/r/20250620154552.299932-1-igor.korotin.linux@gmail.com
[ Use 'LNUXBEEF' as ACPI ID. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
samples/rust/rust_driver_platform.rs