Re: [PATCH] maple: switch to dynamic root device
Johan Hovold <[email protected]> Fri, 12 Jun 2026 17:59:09 +0200
| Newsgroups | org.kernel.vger.linux-sh,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> Can this one be picked up now? Johan