summaryrefslogtreecommitdiff
path: root/rust/kernel/debugfs/traits.rs
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-11-03 21:30:13 +0100
committerDanilo Krummrich <dakr@kernel.org>2025-11-06 10:19:36 +0100
commitb892ed360de8227d700ef010b08564f87ad3a7ce (patch)
tree4a95c52f1f19f55e7dc21831a5c5d31e735db0a4 /rust/kernel/debugfs/traits.rs
parent1f7b01661f5f62211ca079afee922e1b44e3ae5d (diff)
rust: platform: get rid of redundant Result in IRQ methods
Currently request_irq_by_index() returns Result<impl PinInit<irq::Registration<T>, Error> + 'a> which may carry an error in the Result or the initializer; the same is true for the other IRQ methods. Use pin_init::pin_init_scope() to get rid of this redundancy. Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://patch.msgid.link/20251103203053.2348783-2-dakr@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel/debugfs/traits.rs')
0 files changed, 0 insertions, 0 deletions