From 2d21dbedccd3623d275b4330bd473a4c8e218005 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Fri, 5 Jul 2024 23:25:25 +0200
Subject: [PATCH 291/463] usb: typec: anx7688: Port to Linux 6.10

devm_* variant of device_add_groups was dropped.

Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
 drivers/usb/typec/anx7688.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/typec/anx7688.c b/drivers/usb/typec/anx7688.c
index 77c154565340d..448a6f48ab369 100644
--- a/drivers/usb/typec/anx7688.c
+++ b/drivers/usb/typec/anx7688.c
@@ -1975,7 +1975,7 @@ static int anx7688_i2c_probe(struct i2c_client *client)
 		return irq_cabledet;
 	}
 
-	ret = devm_device_add_groups(&client->dev, anx7688_groups);
+	ret = device_add_groups(&client->dev, anx7688_groups);
 	if (ret)
 		return ret;
 
-- 
2.46.0

