Re: [PATCH v2 3/6] rust: device: Support testing devices for equality

From: Uwe Kleine-König

Date: Thu Apr 02 2026 - 09:57:12 EST


On Tue, Feb 03, 2026 at 03:46:32PM +0000, Matthew Maurer wrote:
> This allows device drivers to check if, for example, an auxiliary
> devices is one of its children by comparing the parent field, or
> checking if a device parameter is its own device.
>
> Also convert existing `.as_raw() != .as_raw()` to use this new
> implementation.
>
> Signed-off-by: Matthew Maurer <mmaurer@xxxxxxxxxx>

I don't understand the implications of this patch, but it's fine for me
to be merged via the rust tree.

Acked-by: Uwe Kleine-König <ukleinek@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature