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