OSDN Git Service

ASoC: uda1380: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Tue, 5 Apr 2022 16:58:36 +0000 (18:58 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 Apr 2022 18:18:21 +0000 (19:18 +0100)
commitcbd5ce7f428b4caf3f1e3b07cd068cc073eab909
treef603876a502e7598d74e93d0095e89e6ef79ef34
parent2d4668c6b16fd5b476e84a7fcc54cd38f326e0eb
ASoC: uda1380: 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-15-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/uda1380.c