summaryrefslogtreecommitdiff
path: root/drivers/pmdomain/imx
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2024-12-19 15:49:44 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2024-12-19 15:49:44 +0100
commit094041b176546a82db2ecc84b7a7d31d43d4ffb9 (patch)
tree28a174245b998481b122cf4a53bb29d1efce158d /drivers/pmdomain/imx
parentb06bc47279919628b328710f7767ea7a18a68973 (diff)
parentf64f610ec6ab59dd0391b03842cea3a4cd8ee34f (diff)
downloadlinux-094041b176546a82db2ecc84b7a7d31d43d4ffb9.tar.gz
linux-094041b176546a82db2ecc84b7a7d31d43d4ffb9.tar.bz2
linux-094041b176546a82db2ecc84b7a7d31d43d4ffb9.zip
pmdomain: Merge branch fixes into next
Merge the pmdomain fixes for v6.13-rc[n] into the next branch, to allow them to get tested together with the new changes that are targeted for v6.14. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pmdomain/imx')
-rw-r--r--drivers/pmdomain/imx/gpcv2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pmdomain/imx/gpcv2.c b/drivers/pmdomain/imx/gpcv2.c
index 4db4d666f5bf..958d34d4821b 100644
--- a/drivers/pmdomain/imx/gpcv2.c
+++ b/drivers/pmdomain/imx/gpcv2.c
@@ -1459,12 +1459,12 @@ static int imx_gpcv2_probe(struct platform_device *pdev)
.max_register = SZ_4K,
};
struct device *dev = &pdev->dev;
- struct device_node *pgc_np;
+ struct device_node *pgc_np __free(device_node) =
+ of_get_child_by_name(dev->of_node, "pgc");
struct regmap *regmap;
void __iomem *base;
int ret;
- pgc_np = of_get_child_by_name(dev->of_node, "pgc");
if (!pgc_np) {
dev_err(dev, "No power domains specified in DT\n");
return -EINVAL;