]> git.ipfire.org Git - thirdparty/linux.git/commit
rust: device: Add property_present()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 13 Jan 2025 11:22:59 +0000 (16:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2025 17:22:34 +0000 (18:22 +0100)
commite3a89cc281b60fbd39fa6c1509e80001b77fd8c1
tree5082be36c93a240d8be7c0a849119b0c98a04466
parentf7862dfef6612b87b2ad8352c4d73886f09456d6
rust: device: Add property_present()

This implements Device::property_present(), which calls C APIs
device_property_present() helper.

The new helper will be used by Rust based cpufreq drivers.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/f43fe3f7b3151a89c261ad728b0f3bb2fc24caef.1736766672.git.viresh.kumar@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
rust/bindings/bindings_helper.h
rust/kernel/device.rs