Skip to content
Unverified Commit 5e9058ea authored by Stephen Kitt's avatar Stephen Kitt Committed by Mark Brown
Browse files

ASoC: da7218: 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.

This patch follows the model set by da7218_of_get_id().

Signed-off-by: default avatarStephen Kitt <steve@sk2.org>
Reviewed-by: default avatarAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Link: https://lore.kernel.org/r/20220325171904.1223539-1-steve@sk2.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 89be5dc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment