On Sat, Aug 15, 2026 at 01:09:05AM +0200, Danilo Krummrich wrote:
> Change DriverFile::open() to return impl PinInit<Self, Error> instead of
> Result<Pin<KBox<Self>>>, consistent with how bus device private data
> works.
> 
> Drivers no longer need to allocate a Pin<KBox<_>> themselves; they just
> return an initializer and the subsystem takes care of the allocation.
> 
> Signed-off-by: Danilo Krummrich <[email protected]>

Reviewed-by: Alice Ryhl <[email protected]>

Reply via email to