diff mbox series

[linux,dev-6.18,v2] eeprom: ee1004: Fix build error

Message ID 20260429071333.29142-1-aladyshev22@gmail.com
State New
Headers show
Series [linux,dev-6.18,v2] eeprom: ee1004: Fix build error | expand

Commit Message

Konstantin Aladyshev April 29, 2026, 7:13 a.m. UTC
Currently driver compilation fails because of the undeclared
'ee1004_groups' variable.
This variable was deleted in the commit
79d0df36b541 ("eeprom: ee1004: Add nvmem support")
but by mistake was used in the commit
1b9ab93850ac ("eeprom: ee1004: Add OF matching support").
Remove 'ee1004_groups' usage from the driver to fix the compilation.

Fixes: 1b9ab93850ac ("eeprom: ee1004: Add OF matching support")

Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
---
 drivers/misc/eeprom/ee1004.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/misc/eeprom/ee1004.c b/drivers/misc/eeprom/ee1004.c
index 639615749e2f..e1a571b77de9 100644
--- a/drivers/misc/eeprom/ee1004.c
+++ b/drivers/misc/eeprom/ee1004.c
@@ -347,7 +347,6 @@  static int ee1004_probe(struct i2c_client *client)
 static struct i2c_driver ee1004_driver = {
 	.driver = {
 		.name = "ee1004",
-		.dev_groups = ee1004_groups,
 		.of_match_table = ee1004_of_match,
 	},
 	.probe = ee1004_probe,