Re: [PATCH v2 1/4] rust: device: implement Device::parent()

From: Greg KH
Date: Fri Mar 21 2025 - 09:11:44 EST


On Fri, Mar 21, 2025 at 02:03:30PM +0100, Danilo Krummrich wrote:
> So, maybe we should make Device::parent() crate private instead, such that it
> can't be accessed by drivers, but only the core abstractions and instead only
> provide accessors for the parent device for specific bus devices, where this is
> reasonable to be used by drivers, e.g. auxiliary.
>

That sounds reasonable, thanks!

greg k-h