OSDN Git Service

ASoC: tlv320*: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Tue, 5 Apr 2022 16:58:34 +0000 (18:58 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 Apr 2022 18:18:19 +0000 (19:18 +0100)
commit9ba0daa6efa30b1837560a5ce5f41d31093adb42
treed544f3fa0bf4c10caf6618ba914e3881946274fd
parent33108917c8a6b597782cff0bd31bea3c7737df3b
ASoC: tlv320*: 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-13-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320adcx140.c
sound/soc/codecs/tlv320aic23-i2c.c
sound/soc/codecs/tlv320dac33.c