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@gmail.com>
This commit is contained in:
parent
d2774a55c3
commit
b152f7ba22
1 changed files with 2 additions and 4 deletions
|
@ -49,7 +49,7 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
|
||||||
+obj-$(CONFIG_QCOM_APM) += apm.o
|
+obj-$(CONFIG_QCOM_APM) += apm.o
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/power/qcom/apm.c
|
+++ b/drivers/power/qcom/apm.c
|
||||||
@@ -0,0 +1,943 @@
|
@@ -0,0 +1,941 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
|
+ * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
|
||||||
+ *
|
+ *
|
||||||
|
@ -952,7 +952,7 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
|
||||||
+ return ret;
|
+ 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;
|
+ struct msm_apm_ctrl_dev *ctrl_dev;
|
||||||
+
|
+
|
||||||
|
@ -963,8 +963,6 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
|
||||||
+ mutex_unlock(&apm_ctrl_list_mutex);
|
+ mutex_unlock(&apm_ctrl_list_mutex);
|
||||||
+ apm_debugfs_deinit(ctrl_dev);
|
+ apm_debugfs_deinit(ctrl_dev);
|
||||||
+ }
|
+ }
|
||||||
+
|
|
||||||
+ return 0;
|
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+static struct platform_driver msm_apm_driver = {
|
+static struct platform_driver msm_apm_driver = {
|
||||||
|
|
Loading…
Reference in a new issue