]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sgtl5000: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Tue, 5 Apr 2022 16:40:31 +0000 (18:40 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 6 Apr 2022 22:37:59 +0000 (23:37 +0100)
commit95757fa894f1bacc8a9b8878b4f1bb9599e0aab4
treeaef464993bf2303f38e26bed69910445a3c0af47
parent621f8becc4dde16ee97a546072a6b29a03aac50c
ASoC: sgtl5000: 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>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20220405164031.2160888-1-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sgtl5000.c