diff options
author | Stephen Kitt <steve@sk2.org> | 2022-04-15 19:06:10 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-25 15:58:54 +0300 |
commit | 3577a8a0ac5b9aaf22ff4fa6a9670cf85351ae50 (patch) | |
tree | c83e43538459a7dbc9432e947fdbce9a1bdf5e20 /sound/soc/codecs/tas2562.c | |
parent | 4ac8ebb6cc28cbd99e10d7a4772be1c4da5af130 (diff) | |
download | linux-3577a8a0ac5b9aaf22ff4fa6a9670cf85351ae50.tar.xz |
ASoC: pcm186x: use i2c_match_id and simple i2c probe
As part of the ongoing i2c transition to the simple probe
("probe_new"), this patch uses i2c_match_id to retrieve the
driver_data for the probed device. The id parameter is thus no longer
necessary and the simple probe can be used instead.
The i2c id table is moved up before the probe function, as suggested
by Wolfram Sang.
Signed-off-by: Stephen Kitt <steve@sk2.org>
Link: https://lore.kernel.org/r/20220415160613.148882-5-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tas2562.c')
0 files changed, 0 insertions, 0 deletions