[PATCH 1/4] eeprom: at24: don't assign the i2c ID table to at24_driver

From: Bartosz Golaszewski
Date: Tue Apr 10 2018 - 09:13:15 EST


We switched to using probe_new(), so this is no longer used
by i2c core.

Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx>
---
drivers/misc/eeprom/at24.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c
index 0c125f207aea..2310f26ac4f3 100644
--- a/drivers/misc/eeprom/at24.c
+++ b/drivers/misc/eeprom/at24.c
@@ -737,7 +737,6 @@ static struct i2c_driver at24_driver = {
},
.probe_new = at24_probe,
.remove = at24_remove,
- .id_table = at24_ids,
};

static int __init at24_init(void)
--
2.17.0