Linux Power Management development
 help / color / mirror / Atom feed
From: Luca Ceresoli <luca.ceresoli@bootlin.com>
To: Lucas Stach <l.stach@pengutronix.de>
Cc: "Ulf Hansson" <ulf.hansson@linaro.org>,
	linux-pm@vger.kernel.org, kernel@pengutronix.de,
	patchwork-lst@pengutronix.de, "Peng Fan" <peng.fan@nxp.com>,
	"Hervé Codina" <herve.codina@bootlin.com>
Subject: Re: [PATCH] pmdomain: core: add dummy release function to genpd device
Date: Thu, 19 Dec 2024 09:26:19 +0100	[thread overview]
Message-ID: <20241219092619.18f3fa1c@booty> (raw)
In-Reply-To: <20241218184433.1930532-1-l.stach@pengutronix.de>

Hello Lucas,

On Wed, 18 Dec 2024 19:44:33 +0100
Lucas Stach <l.stach@pengutronix.de> wrote:

> The genpd device, which is really only used as a handle to lookup
> OPP, but not even registered to the device core otherwise and thus
> lifetime linked to the genpd struct it is contained in, is missing
> a release function. After b8f7bbd1f4ec ("pmdomain: core: Add
> missing put_device()") the device will be cleaned up going through
> the driver core device_release() function, which will warn when no
> release callback is present for the device. Add a dummy release
> function to shut up the warning.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>

Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

Thanks for the very quick response!

Luca

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2024-12-19  8:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-18 18:44 [PATCH] pmdomain: core: add dummy release function to genpd device Lucas Stach
2024-12-19  8:26 ` Luca Ceresoli [this message]
2024-12-19 14:40 ` Ulf Hansson
2024-12-19 14:48   ` Ulf Hansson
2024-12-31 10:45     ` Geert Uytterhoeven
2025-01-02 20:07       ` Ulf Hansson

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=20241219092619.18f3fa1c@booty \
    --to=luca.ceresoli@bootlin.com \
    --cc=herve.codina@bootlin.com \
    --cc=kernel@pengutronix.de \
    --cc=l.stach@pengutronix.de \
    --cc=linux-pm@vger.kernel.org \
    --cc=patchwork-lst@pengutronix.de \
    --cc=peng.fan@nxp.com \
    --cc=ulf.hansson@linaro.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