]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: lm4857: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Tue, 5 Apr 2022 16:58:26 +0000 (18:58 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 Apr 2022 18:18:11 +0000 (19:18 +0100)
commit8b954585518731f90b90da4cb31a0d62dec50cec
tree904a03c7499749c5741baa5a04778dc4f57b337b
parent1e303c1df2b0570446b2b15c077cd216cb713f0d
ASoC: lm4857: 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-5-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/lm4857.c