]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28fc65f4d0919d55470ffbd7dc22732d27e90c7a
tree3e8e6983879a7657bfc5925cfecda3880135a9ba
parentafbb6ab185b85d731caa68e0bfc00a0474ab999d
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