summaryrefslogtreecommitdiff
path: root/drivers/platform/arm64
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-07-21 16:37:27 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-07-21 16:37:27 +0300
commitb5f20799f164053a0fbf7c61b3c99f8cf9cf0656 (patch)
tree6aaa08ee1e8ef13313bb5785b1a0343b7576f69e /drivers/platform/arm64
parent6e38b9fcbfa3053e1b5d2806a7233078d712bd34 (diff)
parente2967b50b709970547b5cdfa1b42526835327f36 (diff)
Merge branch 'fixes' into 'for-next'
Merge the fixes branch into the for-next branch to resolve Makefile conflict and include the power supply accessor work that is required by the upcoming Uniwill driver.
Diffstat (limited to 'drivers/platform/arm64')
-rw-r--r--drivers/platform/arm64/huawei-gaokun-ec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/arm64/huawei-gaokun-ec.c b/drivers/platform/arm64/huawei-gaokun-ec.c
index 7e5aa7ca2403..7170f8eb76f7 100644
--- a/drivers/platform/arm64/huawei-gaokun-ec.c
+++ b/drivers/platform/arm64/huawei-gaokun-ec.c
@@ -662,6 +662,7 @@ static void gaokun_aux_release(struct device *dev)
{
struct auxiliary_device *adev = to_auxiliary_dev(dev);
+ of_node_put(dev->of_node);
kfree(adev);
}
@@ -693,6 +694,7 @@ static int gaokun_aux_init(struct device *parent, const char *name,
ret = auxiliary_device_init(adev);
if (ret) {
+ of_node_put(adev->dev.of_node);
kfree(adev);
return ret;
}