public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: Johan Hovold <johan@kernel.org>,
	"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] parisc: drivers: switch to dynamic root device
Date: Tue, 28 Apr 2026 17:21:21 +0200	[thread overview]
Message-ID: <7f3b08ef-6ea6-48bd-ac3f-e8e904478fbb@gmx.de> (raw)
In-Reply-To: <20260424103211.2616426-1-johan@kernel.org>

On 4/24/26 12:32, Johan Hovold wrote:
> Driver core expects devices to be dynamically allocated and will, for
> example, complain loudly if a device that lacks a release function
> is ever freed.
> 
> Use root_device_register() to allocate and register the root device
> instead of open coding using a static device.
> 
> While at it, drop the redundant additional reference taken at init.
> 
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---
>   arch/parisc/kernel/drivers.c | 21 ++++++++++-----------
>   1 file changed, 10 insertions(+), 11 deletions(-)

applied.
Thanks!
Helge

      reply	other threads:[~2026-04-28 15:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-24 10:32 [PATCH] parisc: drivers: switch to dynamic root device Johan Hovold
2026-04-28 15:21 ` Helge Deller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7f3b08ef-6ea6-48bd-ac3f-e8e904478fbb@gmx.de \
    --to=deller@gmx.de \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=johan@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-parisc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox