summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/pcm512x-i2c.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-04-25 12:57:16 +0300
committerMark Brown <broonie@kernel.org>2023-05-08 02:48:49 +0300
commit9abcd24002bf7997be752b6b48b137c4db3a609b (patch)
tree95d91041135855d19b482352472a214b620ba871 /sound/soc/codecs/pcm512x-i2c.c
parent501c2825008e72a312ca46fa2d9ea3773bceabe2 (diff)
downloadlinux-9abcd24002bf7997be752b6b48b137c4db3a609b.tar.xz
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/pcm512x-i2c.c')
-rw-r--r--sound/soc/codecs/pcm512x-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/pcm512x-i2c.c b/sound/soc/codecs/pcm512x-i2c.c
index 9dfbbe8f4a0b..5cd2b64b9337 100644
--- a/sound/soc/codecs/pcm512x-i2c.c
+++ b/sound/soc/codecs/pcm512x-i2c.c
@@ -66,7 +66,7 @@ MODULE_DEVICE_TABLE(acpi, pcm512x_acpi_match);
#endif
static struct i2c_driver pcm512x_i2c_driver = {
- .probe_new = pcm512x_i2c_probe,
+ .probe = pcm512x_i2c_probe,
.remove = pcm512x_i2c_remove,
.id_table = pcm512x_i2c_id,
.driver = {