diff options
author | 2024-10-22 23:18:45 +0100 | |
---|---|---|
committer | 2024-10-22 23:18:45 +0100 | |
commit | 5ddc236d094d496bcd1e78aaa88bdde530073b6f (patch) | |
tree | 2435f76086b7bbf9739c05411baa2f1520cd9618 /rust/kernel/firmware.rs | |
parent | regulator: rk808: Restrict DVS GPIOs to the RK808 variant only (diff) | |
parent | regulator: core: remove machine init callback from config (diff) | |
download | wireguard-linux-5ddc236d094d496bcd1e78aaa88bdde530073b6f.tar.xz wireguard-linux-5ddc236d094d496bcd1e78aaa88bdde530073b6f.zip |
regulator: init_data handling update
Merge series from Jerome Brunet <jbrunet@baylibre.com>:
This patchset groups the regulator patches around the init_data topic
discussed on pmbus write protect patchset [1]
[1]: https://lore.kernel.org/r/20240920-pmbus-wp-v1-0-d679ef31c483@baylibre.com
Diffstat (limited to 'rust/kernel/firmware.rs')
-rw-r--r-- | rust/kernel/firmware.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/firmware.rs b/rust/kernel/firmware.rs index dee5b4b18aec..13a374a5cdb7 100644 --- a/rust/kernel/firmware.rs +++ b/rust/kernel/firmware.rs @@ -44,7 +44,7 @@ impl FwFunc { /// /// # fn no_run() -> Result<(), Error> { /// # // SAFETY: *NOT* safe, just for the example to get an `ARef<Device>` instance -/// # let dev = unsafe { Device::from_raw(core::ptr::null_mut()) }; +/// # let dev = unsafe { Device::get_device(core::ptr::null_mut()) }; /// /// let fw = Firmware::request(c_str!("path/to/firmware.bin"), &dev)?; /// let blob = fw.data(); |