Re: [PATCH V12 13/15] rust: cpufreq: Extend abstractions for driver registration

From: Benno Lossin
Date: Mon May 19 2025 - 07:42:40 EST


On Mon May 19, 2025 at 1:06 PM CEST, Danilo Krummrich wrote:
> On Mon, May 19, 2025 at 12:37:18PM +0530, Viresh Kumar wrote:
>> +/// fn exit(_policy: &mut cpufreq::Policy, _data: Option<Self::PData>) -> Result<()> {
>
> This can just be `Result`, here and below.

Since I saw you mention this multiple times and I agree, I created a
clippy issue: https://github.com/rust-lang/rust-clippy/issues/14848

---
Cheers,
Benno