Re: [PATCH v3 1/3] rust: add runtime PM support
From: Beata Michalska
Date: Thu Sep 10 2026 - 04:37:00 EST
On Wed, Sep 09, 2026 at 09:37:11AM +0000, Alice Ryhl wrote:
> On Wed, Aug 26, 2026 at 03:10:55PM +0200, Beata Michalska wrote:
> > +/// Result type returned by runtime PM callbacks.
> > +pub type PMCallbackResult<T> = Result<Option<T>, (Option<T>, Error)>;
>
> So I think my number one feedback is that it would be really nice to get
> rid of this Option.
Guess this can be done. And I'm assuming that's for both Options here (?)
---
BR
Beata
>
> > +/// Runtime PM data stored within the `struct device_private' during
>
> Should be ` ... ` rather than ' to render correctly in html docs.
>
> Alice