diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2024-12-18 19:44:33 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2024-12-19 15:47:02 +0100 |
commit | f64f610ec6ab59dd0391b03842cea3a4cd8ee34f (patch) | |
tree | 7d9e8c042cb19f3b282f6f755dada579c84e6b90 /drivers/pmdomain/imx/imx8mp-blk-ctrl.c | |
parent | pmdomain: imx: gpcv2: fix an OF node reference leak in imx_gpcv2_probe() (diff) | |
download | linux-f64f610ec6ab59dd0391b03842cea3a4cd8ee34f.tar.xz linux-f64f610ec6ab59dd0391b03842cea3a4cd8ee34f.zip |
pmdomain: core: add dummy release function to genpd device
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>
Fixes: b8f7bbd1f4ec ("pmdomain: core: Add missing put_device()")
Cc: stable@vger.kernel.org
Message-ID: <20241218184433.1930532-1-l.stach@pengutronix.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions