36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
From edab628a1576d2c4e4506eb2ded3a733a8c49197 Mon Sep 17 00:00:00 2001
|
|
From: map220v <[email protected]>
|
|
Date: Sun, 15 Sep 2024 16:31:42 +0000
|
|
Subject: [PATCH 26/62] qcom_fg: Fix compilation in 6.11
|
|
|
|
Signed-off-by: Jiali Chen <[email protected]>
|
|
---
|
|
drivers/power/supply/qcom_fg.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/power/supply/qcom_fg.c b/drivers/power/supply/qcom_fg.c
|
|
index dd5b2738d553..6bfffa97107e 100644
|
|
--- a/drivers/power/supply/qcom_fg.c
|
|
+++ b/drivers/power/supply/qcom_fg.c
|
|
@@ -1328,7 +1328,7 @@ static int qcom_fg_probe(struct platform_device *pdev)
|
|
return 0;
|
|
}
|
|
|
|
-static int qcom_fg_remove(struct platform_device *pdev)
|
|
+static void qcom_fg_remove(struct platform_device *pdev)
|
|
{
|
|
struct qcom_fg_chip *chip = platform_get_drvdata(pdev);
|
|
|
|
@@ -1337,7 +1337,7 @@ static int qcom_fg_remove(struct platform_device *pdev)
|
|
if(chip->sram_wq)
|
|
destroy_workqueue(chip->sram_wq);
|
|
|
|
- return 0;
|
|
+ return;
|
|
}
|
|
|
|
static const struct of_device_id fg_match_id_table[] = {
|
|
--
|
|
2.47.3
|
|
|