aboutsummaryrefslogtreecommitdiffstats
path: root/rust/pin-init/internal/src
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2025-05-22 20:30:34 +0200
committerTakashi Iwai <tiwai@suse.de>2025-05-22 20:30:34 +0200
commit547c5775a742d9c83891b629b75d1d4c8e88d8c0 (patch)
tree09fa3de570c5a091b649c67d49d8ae65df30570f /rust/pin-init/internal/src
parentALSA: hda/tas2781: Move and unified the calibrated-data getting function for SPI and I2C into the tas2781_hda lib (diff)
parentAdd Tegra264 support in AHUB drivers (diff)
downloadlinux-rng-547c5775a742d9c83891b629b75d1d4c8e88d8c0.tar.xz
linux-rng-547c5775a742d9c83891b629b75d1d4c8e88d8c0.zip
Merge tag 'asoc-v6.16' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: Updates for v6.16 The changes in this release are quite large, mainly in drivers rather than the core. This is partly due to cleanups that touch a lot of drivers and partly due to several relatively large new drivers. - Support for automatically enumerating DAIs from standards conforming SoundWire SDCA devices, further work is required for these to be useful in an actual card. - Conversion of quite a few drivers to newer GPIO APIs. - More helpers and cleanups from Mormimoto-san. - Support for a wider range of AVS platforms. - Support for AMD ACP 7.x platforms, Cirrus Logic CS35L63 and CS48L32, Everest Semiconductor ES8389, Longsoon-1 AC'97 controllers, nVidia Tegra264, Richtek ALC203 and RT9123 and Rockchip SAI controllers.
Diffstat (limited to 'rust/pin-init/internal/src')
-rw-r--r--rust/pin-init/internal/src/pinned_drop.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/pin-init/internal/src/pinned_drop.rs b/rust/pin-init/internal/src/pinned_drop.rs
index c824dd8b436d..c4ca7a70b726 100644
--- a/rust/pin-init/internal/src/pinned_drop.rs
+++ b/rust/pin-init/internal/src/pinned_drop.rs
@@ -28,8 +28,7 @@ pub(crate) fn pinned_drop(_args: TokenStream, input: TokenStream) -> TokenStream
// Found the end of the generics, this should be `PinnedDrop`.
assert!(
matches!(tt, TokenTree::Ident(i) if i.to_string() == "PinnedDrop"),
- "expected 'PinnedDrop', found: '{:?}'",
- tt
+ "expected 'PinnedDrop', found: '{tt:?}'"
);
pinned_drop_idx = Some(i);
break;