ASoC: alc56*: use i2c_match_id and simple i2c probe
authorStephen Kitt <steve@sk2.org>
Fri, 15 Apr 2022 16:06:08 +0000 (18:06 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 25 Apr 2022 12:58:52 +0000 (13:58 +0100)
commit9d8f2edd3d7d11c9f1fc978e36219b3178af13bc
treec5698b7ee424d54a8f90dd8506f575087874b569
parente654a1331f68550f4c7c85b13b2bdb3c2502a9af
ASoC: alc56*: use i2c_match_id and simple i2c probe

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.

The i2c id tables are moved up before the probe function, as
suggested by Wolfram Sang.

Signed-off-by: Stephen Kitt <steve@sk2.org>
Link: https://lore.kernel.org/r/20220415160613.148882-3-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/alc5623.c
sound/soc/codecs/alc5632.c