]> git.ipfire.org Git - thirdparty/linux.git/commit
samples: rust: platform: conditionally call Self::properties_parse()
authorDanilo Krummrich <dakr@kernel.org>
Fri, 20 Jun 2025 15:21:03 +0000 (16:21 +0100)
committerDanilo Krummrich <dakr@kernel.org>
Wed, 25 Jun 2025 16:10:12 +0000 (18:10 +0200)
commit9da36b9faed26f634c9f04a0f2cf7625c08f5d65
tree55cb0f24e2031c3f3a41ebb99ce2b12dd6b91f53
parentc69072d3a10976e48da97758a78c35305c24eeba
samples: rust: platform: conditionally call Self::properties_parse()

Only call Self::properties_parse() when the FwNode is an OF node.

Once we add ACPI support, we don't want the ACPI device to fail probing
in Self::properties_parse().

Signed-off-by: Igor Korotin <igor.korotin.linux@gmail.com>
Link: https://lore.kernel.org/r/20250620152103.282763-1-igor.korotin.linux@gmail.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
samples/rust/rust_driver_platform.rs