aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorRemo Senekowitsch <remo@buenzli.dev>2025-06-11 12:29:03 +0200
committerDanilo Krummrich <dakr@kernel.org>2025-06-13 00:58:52 +0200
commitecea2459818383c2886ec1cff81cce7e70d99893 (patch)
tree64086b46101c5d5755b12198545663925a273ad8 /drivers/platform/x86/intel/pmt/class.c
parentrust: device: Move property_present() to FwNode (diff)
downloadlinux-ecea2459818383c2886ec1cff81cce7e70d99893.tar.gz
linux-ecea2459818383c2886ec1cff81cce7e70d99893.zip
rust: device: Enable printing fwnode name and path
Add two new public methods `display_name` and `display_path` to `FwNode`. They can be used by driver authors for logging purposes. In addition, they will be used by core property abstractions for automatic logging, for example when a driver attempts to read a required but missing property. 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-5-remo@buenzli.dev [ Remove #[expect(dead_code)] from FwNode::from_raw(). - Danilo ] Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions