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)
commitfead49e33b3df85326cf00eb27a461a8d2ac32a1
treebc0aa20776419388ecffc140a5e32c571049026a
parent182f3ebd5d34437f8bf53fe4d37ccc817b003648
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