diff options
author | Stephen Kitt <[email protected]> | 2022-05-01 19:10:09 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-05-03 13:45:55 +0100 |
commit | 55d2a66cfec6a4196243940f754f5b34dd2106bf (patch) | |
tree | dae6e0821601ff9fddb0519f2f70c98c018ef6b4 /lib/mpi/mpi-sub-ui.c | |
parent | 35a9b000b24d512228d4513dc55f5767b015bc73 (diff) |
ASoC: tpa6130: 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions