Re: [PATCH v2 3/6] rust: device: Support testing devices for equality
From: Greg Kroah-Hartman
Date: Tue Feb 03 2026 - 11:23:16 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.
Ok, but why? This says what it does, but I have no context as to why
this would be needed.
What driver wants to know this?
thanks,
greg k-h