]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: max9*: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Tue, 5 Apr 2022 16:58:27 +0000 (18:58 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 Apr 2022 18:18:12 +0000 (19:18 +0100)
commit4fc0adb36eeb1f82ab9017df91c1dcf77b42eaa8
treebc0aa20776419388ecffc140a5e32c571049026a
parentdbb7a3361375a9105fb117cea8a3ae635d9b5d84
ASoC: max9*: 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-6-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
12 files changed:
sound/soc/codecs/max9768.c
sound/soc/codecs/max98371.c
sound/soc/codecs/max98373-i2c.c
sound/soc/codecs/max98390.c
sound/soc/codecs/max9850.c
sound/soc/codecs/max98504.c
sound/soc/codecs/max98520.c
sound/soc/codecs/max9867.c
sound/soc/codecs/max9877.c
sound/soc/codecs/max98925.c
sound/soc/codecs/max98926.c
sound/soc/codecs/max98927.c