diff options
author | Mark Brown <broonie@kernel.org> | 2022-04-12 19:16:54 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-12 19:16:54 +0300 |
commit | 122cef68f1035e704ff7fe778c07d596bf5a1fa2 (patch) | |
tree | 0d307afdedeeea1d3d9f74b900bb6ec5066e35c4 /sound/soc/codecs/pcm3168a-i2c.c | |
parent | 09b955f676d93ca69f4eaa5e13f100911084d5fa (diff) | |
parent | cbd5ce7f428b4caf3f1e3b07cd068cc073eab909 (diff) | |
download | linux-122cef68f1035e704ff7fe778c07d596bf5a1fa2.tar.xz |
ASoC: remaining simple i2c probe changes
Merge series from Stephen Kitt <steve@sk2.org>:
This series covers all the remaining changes to migrate
sound/soc/codecs i2c probes to probe_new, where the const struct
i2c_client * argument is unused; there are a few remaining files which
use the argument and will need i2c_match_id migration.
Diffstat (limited to 'sound/soc/codecs/pcm3168a-i2c.c')
-rw-r--r-- | sound/soc/codecs/pcm3168a-i2c.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/pcm3168a-i2c.c b/sound/soc/codecs/pcm3168a-i2c.c index 1f75933e74fa..c0fa0dc80e8f 100644 --- a/sound/soc/codecs/pcm3168a-i2c.c +++ b/sound/soc/codecs/pcm3168a-i2c.c @@ -15,8 +15,7 @@ #include "pcm3168a.h" -static int pcm3168a_i2c_probe(struct i2c_client *i2c, - const struct i2c_device_id *id) +static int pcm3168a_i2c_probe(struct i2c_client *i2c) { struct regmap *regmap; @@ -47,7 +46,7 @@ static const struct of_device_id pcm3168a_of_match[] = { MODULE_DEVICE_TABLE(of, pcm3168a_of_match); static struct i2c_driver pcm3168a_i2c_driver = { - .probe = pcm3168a_i2c_probe, + .probe_new = pcm3168a_i2c_probe, .remove = pcm3168a_i2c_remove, .id_table = pcm3168a_i2c_id, .driver = { |