OSDN Git Service

ASoC: sta*: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Tue, 5 Apr 2022 16:58:31 +0000 (18:58 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 Apr 2022 18:18:16 +0000 (19:18 +0100)
commit6f51c15877ae7a2b57bd4ec90eeb146dbac36fa5
tree99a9242645a2abefcb6492201c95cf87ba9a27e8
parent7f7d7214bb5208454aa4ce13780de326402e89c3
ASoC: sta*: use simple i2c probe function

The i2c probe functions here don't use the id information provided in
their second argument, so the single-parameter i2c probe function
("probe_new") can be used instead.

This avoids scanning the identifier tables during probes.

Signed-off-by: Stephen Kitt <steve@sk2.org>
Link: https://lore.kernel.org/r/20220405165836.2165310-10-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sta32x.c
sound/soc/codecs/sta350.c
sound/soc/codecs/sta529.c