diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-04-25 11:57:16 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-08 08:48:49 +0900 |
commit | 9abcd24002bf7997be752b6b48b137c4db3a609b (patch) | |
tree | 95d91041135855d19b482352472a214b620ba871 /sound/soc/codecs/ak4118.c | |
parent | ASoC: amd: ps: Update copyright notice (diff) | |
download | wireguard-linux-9abcd24002bf7997be752b6b48b137c4db3a609b.tar.xz wireguard-linux-9abcd24002bf7997be752b6b48b137c4db3a609b.zip |
ASoC: Switch i2c drivers back to use .probe()
After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
03c835f498b5 ("i2c: Switch .probe() to not take an id parameter") convert
back to (the new) .probe() to be able to eventually drop .probe_new() from
struct i2c_driver.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de
Link: https://lore.kernel.org/r/20230425095716.331419-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'sound/soc/codecs/ak4118.c')
-rw-r--r-- | sound/soc/codecs/ak4118.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ak4118.c b/sound/soc/codecs/ak4118.c index b6d9a10bdccd..ebcdc412e39c 100644 --- a/sound/soc/codecs/ak4118.c +++ b/sound/soc/codecs/ak4118.c @@ -414,7 +414,7 @@ static struct i2c_driver ak4118_i2c_driver = { .of_match_table = of_match_ptr(ak4118_of_match), }, .id_table = ak4118_id_table, - .probe_new = ak4118_i2c_probe, + .probe = ak4118_i2c_probe, }; module_i2c_driver(ak4118_i2c_driver); |