]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2142551d40a460c1cbf3a3d18adfc5f12c1021f6
tree8200bc89bc1fac990f89e48ed981ad77eb2be5a1
parentf5b18bc6212f455a7a113b4c41f0301fc3029fce
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