OSDN Git Service

ASoC: rt*: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Tue, 5 Apr 2022 13:03:26 +0000 (15:03 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 6 Apr 2022 22:37:55 +0000 (23:37 +0100)
commit35b8885805002564906086cbd691e88850257294
tree1f3b0db78029d3a5b61fcfd40350f6858db18c75
parentf950ef9180351f73c319ca81e612c4cc98c07cbd
ASoC: rt*: 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/20220405130326.2107293-1-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
23 files changed:
sound/soc/codecs/rt1011.c
sound/soc/codecs/rt1015.c
sound/soc/codecs/rt1016.c
sound/soc/codecs/rt1019.c
sound/soc/codecs/rt1305.c
sound/soc/codecs/rt1308.c
sound/soc/codecs/rt274.c
sound/soc/codecs/rt286.c
sound/soc/codecs/rt298.c
sound/soc/codecs/rt5514.c
sound/soc/codecs/rt5616.c
sound/soc/codecs/rt5631.c
sound/soc/codecs/rt5640.c
sound/soc/codecs/rt5645.c
sound/soc/codecs/rt5651.c
sound/soc/codecs/rt5659.c
sound/soc/codecs/rt5660.c
sound/soc/codecs/rt5663.c
sound/soc/codecs/rt5665.c
sound/soc/codecs/rt5668.c
sound/soc/codecs/rt5670.c
sound/soc/codecs/rt5682-i2c.c
sound/soc/codecs/rt5682s.c