OSDN Git Service

ASoC: da[79]*: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Fri, 25 Mar 2022 17:12:43 +0000 (18:12 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 5 Apr 2022 09:23:12 +0000 (10:23 +0100)
commit89be5dc60d67b377be60b47dd12d1a3ee142aacb
tree3e8e6983879a7657bfc5925cfecda3880135a9ba
parentc5198db82d4c257d4d9fb9dc0db329482f3d08b9
ASoC: da[79]*: 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: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20220325171243.1218003-1-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7210.c
sound/soc/codecs/da7213.c
sound/soc/codecs/da7219.c
sound/soc/codecs/da732x.c
sound/soc/codecs/da9055.c