mirror of
https://github.com/armbian/build.git
synced 2025-08-09 12:46:58 +02:00
* sunxi-6.1: rebase to v6.1.14, reexport patches megous * sunxi-6.1: rename fixes patches * sunxi-6.1: reexport armbian patches * sunxi-6.1: fix the series.conf file to the current state * sunxi-6.1: switch edge to v6.1.14 * Adjust sunxi to 5.15 / 6.1 / 6.2 - change configs - adjust broken patches - disable patch that only changes /readme.md and it has issues --------- Co-authored-by: Igor Pečovnik <igor@armbian.com>
35 lines
981 B
Diff
35 lines
981 B
Diff
From eab277e9ca1f5558dbbf9820dbf6cf4edf4d4c39 Mon Sep 17 00:00:00 2001
|
|
From: The-going <48602507+The-going@users.noreply.github.com>
|
|
Date: Tue, 28 Feb 2023 13:39:51 +0300
|
|
Subject: [PATCH] mfd: sunxi-ac200: fix error initialization
|
|
|
|
---
|
|
drivers/mfd/sunxi-ac200.c | 4 +---
|
|
1 file changed, 1 insertion(+), 3 deletions(-)
|
|
|
|
diff --git a/drivers/mfd/sunxi-ac200.c b/drivers/mfd/sunxi-ac200.c
|
|
index 368a54587..b784a82f3 100644
|
|
--- a/drivers/mfd/sunxi-ac200.c
|
|
+++ b/drivers/mfd/sunxi-ac200.c
|
|
@@ -144,7 +144,7 @@ static int ac200_i2c_probe(struct i2c_client *i2c,
|
|
return 0;
|
|
}
|
|
|
|
-static int ac200_i2c_remove(struct i2c_client *i2c)
|
|
+static void ac200_i2c_remove(struct i2c_client *i2c)
|
|
{
|
|
struct ac200_dev *ac200 = i2c_get_clientdata(i2c);
|
|
|
|
@@ -152,8 +152,6 @@ static int ac200_i2c_remove(struct i2c_client *i2c)
|
|
|
|
mfd_remove_devices(&i2c->dev);
|
|
regmap_del_irq_chip(i2c->irq, ac200->regmap_irqc);
|
|
-
|
|
- return 0;
|
|
}
|
|
|
|
static const struct i2c_device_id ac200_ids[] = {
|
|
--
|
|
2.35.3
|
|
|