OSDN Git Service

ASoC: tscs*: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Tue, 5 Apr 2022 16:34:00 +0000 (18:34 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 6 Apr 2022 22:37:54 +0000 (23:37 +0100)
commitf950ef9180351f73c319ca81e612c4cc98c07cbd
tree8200bc89bc1fac990f89e48ed981ad77eb2be5a1
parent97b0b6e3fb8a390205f3266b1fba3e195b9edf30
ASoC: tscs*: 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/20220405163400.2156631-1-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tscs42xx.c
sound/soc/codecs/tscs454.c