OSDN Git Service

ASoC: es83*: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Tue, 5 Apr 2022 16:58:25 +0000 (18:58 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 Apr 2022 18:18:10 +0000 (19:18 +0100)
commita327bdc6c69521bc9ad9ed931a01e505956d4947
tree6ae7f7b35f76e7ef8a3291c2a11111c4de63aae8
parente86e7de1c52afefec61b5cfe254d888117a6d5ab
ASoC: es83*: 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-4-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8316.c
sound/soc/codecs/es8328-i2c.c