]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust: device: Enable accessing the FwNode of a Device
authorRemo Senekowitsch <remo@buenzli.dev>
Wed, 11 Jun 2025 10:29:01 +0000 (12:29 +0200)
committerDanilo Krummrich <dakr@kernel.org>
Thu, 12 Jun 2025 22:58:51 +0000 (00:58 +0200)
commit658f23b59251e15cc9263cfe5157d5757a293017
tree4204707c1e17d82247be85fca47d8f260742d7ed
parenta2801affa7103862d549050401a9f53b3365fca4
rust: device: Enable accessing the FwNode of a Device

Subsequent patches will add methods for reading properties to FwNode.
The first step to accessing these methods will be to access the "root"
FwNode of a Device.

Add the method `fwnode` to `Device`.

Tested-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Remo Senekowitsch <remo@buenzli.dev>
Link: https://lore.kernel.org/r/20250611102908.212514-3-remo@buenzli.dev
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/device.rs