Re: [PATCH v3 4/7] iio: accel: kionix-kx022a: Add an i2c_device_id table

From: Andy Shevchenko
Date: Tue Apr 25 2023 - 09:40:19 EST


On Tue, Apr 25, 2023 at 12:22:24AM +0200, Mehdi Djait wrote:
> Add the missing i2c device id

Seems like unfinished commit message (also note missing period, that's why
I paid attention to this).

...

> +static const struct i2c_device_id kx022a_i2c_id[] = {
> + { .name = "kx022a", 0 },

', 0' is redundant.

> + { }
> +};
> +MODULE_DEVICE_TABLE(i2c, kx022a_i2c_id);

--
With Best Regards,
Andy Shevchenko