]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ak*: use i2c_match_id and simple i2c probe
authorStephen Kitt <steve@sk2.org>
Fri, 15 Apr 2022 16:06:07 +0000 (18:06 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 25 Apr 2022 12:58:51 +0000 (13:58 +0100)
commit8c6a271349f7124ba46f8e82dc9b445eee2a56a2
treed0b362843e4d64f6e0a1db7ecce13c37cbf5be41
parentd65c6cc01ab78f2149c6012083747621473b89cd
ASoC: ak*: 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.

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