RE: [PATCH] ASoC: ad1*, ada*, ssm*: use i2c_match_id and simple i2c probe

From: Sa, Nuno
Date: Mon Mar 28 2022 - 03:49:29 EST


> From: Stephen Kitt <steve@xxxxxxx>
> Sent: Friday, March 25, 2022 5:55 PM
> To: Lars-Peter Clausen <lars@xxxxxxxxxx>; Sa, Nuno
> <Nuno.Sa@xxxxxxxxxx>; Liam Girdwood <lgirdwood@xxxxxxxxx>;
> Mark Brown <broonie@xxxxxxxxxx>
> Cc: Wolfram Sang <wsa@xxxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx;
> Stephen Kitt <steve@xxxxxxx>
> Subject: [PATCH] ASoC: ad1*, ada*, ssm*: use i2c_match_id and
> simple i2c probe
>
> [External]
>
> As part of the ongoing i2c transition to the simple probe
> ("probe_new"), this patch uses i2c_match_id to retrieve the
> driver_data for the probed device. The id parameter is thus no longer
> necessary and the simple probe can be used instead.
>
> Signed-off-by: Stephen Kitt <steve@xxxxxxx>
> ---

Reviewed-by: Nuno Sá <nuno.sa@xxxxxxxxxx>