Re: [PATCH] maple: switch to dynamic root device

From: Johan Hovold

Date: Fri Jun 12 2026 - 11:59:18 EST


On Fri, Apr 24, 2026 at 12:41:42PM +0200, Johan Hovold wrote:
> Driver core expects devices to be dynamically allocated and will, for
> example, complain loudly when no release function has been provided.
>
> Use root_device_register() to allocate and register the root device
> instead of open coding using a static device.
>
> Note that this also fixes a reference leak in case device_register()
> fails which may be flagged by static checkers.
>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>

Can this one be picked up now?

Johan