ASoC: cs*: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Fri, 25 Mar 2022 17:07:34 +0000 (18:07 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 5 Apr 2022 09:23:19 +0000 (10:23 +0100)
commit4a4043456cb82df20e146902cfb3dd84bc393cd3
treeb8d252e7bd3cb191bde38348c6d2fc7613d83026
parent6d8f318b949aaa43a415947ee834890546e4e81b
ASoC: cs*: 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: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220325170734.1216018-1-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
20 files changed:
sound/soc/codecs/cs35l32.c
sound/soc/codecs/cs35l33.c
sound/soc/codecs/cs35l34.c
sound/soc/codecs/cs35l35.c
sound/soc/codecs/cs35l36.c
sound/soc/codecs/cs35l41-i2c.c
sound/soc/codecs/cs4234.c
sound/soc/codecs/cs4265.c
sound/soc/codecs/cs4270.c
sound/soc/codecs/cs4271-i2c.c
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l51-i2c.c
sound/soc/codecs/cs42l52.c
sound/soc/codecs/cs42l56.c
sound/soc/codecs/cs42l73.c
sound/soc/codecs/cs42xx8-i2c.c
sound/soc/codecs/cs43130.c
sound/soc/codecs/cs4341.c
sound/soc/codecs/cs4349.c
sound/soc/codecs/cs53l30.c