Re: [PATCH v3 1/3] rust: add runtime PM support

From: Alice Ryhl

Date: Wed Sep 09 2026 - 05:39:34 EST


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.

> +/// Runtime PM data stored within the `struct device_private' during

Should be ` ... ` rather than ' to render correctly in html docs.

Alice