Re: [PATCH] drivers/hid: use simple i2c probe

From: Jiri Kosina
Date: Tue Oct 18 2022 - 10:14:22 EST


On Wed, 12 Oct 2022, Stephen Kitt wrote:

> All these drivers have an i2c probe function which doesn't use the
> "struct i2c_device_id *id" parameter, so they can trivially be
> converted to the "probe_new" style of probe with a single argument.
>
> This is part of an ongoing transition to single-argument i2c probe
> functions. Old-style probe functions involve a call to i2c_match_id:
> in drivers/i2c/i2c-core-base.c,

Applied, thanks.

--
Jiri Kosina
SUSE Labs