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

From: Peter Rosin
Date: Wed Apr 11 2018 - 05:56:42 EST


On 2018-04-10 15:12, Bartosz Golaszewski wrote:
> We switched to using probe_new(), so this is no longer used
> by i2c core.

It seems to be used in i2c_device_match() ???

This could easily be me not understanding something...

Cheers,
Peter

> 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)
>