[openwrt/openwrt] qualcommax: 6.12: apm: change remove to void

LEDE Commits lede-commits at lists.infradead.org
Fri May 16 08:57:51 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b152f7ba22ec139eefeb613c14bf7c64d2f10f2b

commit b152f7ba22ec139eefeb613c14bf7c64d2f10f2b
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Fri May 9 14:06:37 2025 +0200

    qualcommax: 6.12: apm: change remove to void
    
    Remove op is now of a void type, update APM.
    
    Link: https://github.com/openwrt/openwrt/pull/18795
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 .../linux/qualcommax/patches-6.12/0900-power-Add-Qualcomm-APM.patch | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/target/linux/qualcommax/patches-6.12/0900-power-Add-Qualcomm-APM.patch b/target/linux/qualcommax/patches-6.12/0900-power-Add-Qualcomm-APM.patch
index 0b573dfdd9..a83408ba43 100644
--- a/target/linux/qualcommax/patches-6.12/0900-power-Add-Qualcomm-APM.patch
+++ b/target/linux/qualcommax/patches-6.12/0900-power-Add-Qualcomm-APM.patch
@@ -49,7 +49,7 @@ Signed-off-by: Robert Marko <robimarko at gmail.com>
 +obj-$(CONFIG_QCOM_APM)		+= apm.o
 --- /dev/null
 +++ b/drivers/power/qcom/apm.c
-@@ -0,0 +1,943 @@
+@@ -0,0 +1,941 @@
 +/*
 + * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
 + *
@@ -952,7 +952,7 @@ Signed-off-by: Robert Marko <robimarko at gmail.com>
 +	return ret;
 +}
 +
-+static int msm_apm_remove(struct platform_device *pdev)
++static void msm_apm_remove(struct platform_device *pdev)
 +{
 +	struct msm_apm_ctrl_dev *ctrl_dev;
 +
@@ -963,8 +963,6 @@ Signed-off-by: Robert Marko <robimarko at gmail.com>
 +		mutex_unlock(&apm_ctrl_list_mutex);
 +		apm_debugfs_deinit(ctrl_dev);
 +	}
-+
-+	return 0;
 +}
 +
 +static struct platform_driver msm_apm_driver = {




More information about the lede-commits mailing list