From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> To: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com> Cc: alsa-devel@alsa-project.org, "Corey Minyard" <cminyard@mvista.com>, "Benjamin Mugnier" <benjamin.mugnier@foss.st.com>, "Vladimir Oltean" <olteanv@gmail.com>, "Lucas Tanure" <tanureal@opensource.cirrus.com>, "Peter Senna Tschudin" <peter.senna@gmail.com>, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>, "Dmitry Torokhov" <dmitry.torokhov@gmail.com>, "Sebastian Reichel" <sebastian.reichel@collabora.com>, "Andy Shevchenko" <andriy.shevchenko@linux.intel.com>, "David Rhodes" <david.rhodes@cirrus.com>, "Wolfram Sang" <wsa@kernel.org>, linuxppc-dev@lists.ozlabs.org, "Richard Fitzgerald" <rf@opensource.cirrus.com>, "Krzysztof Hałasa" <khalasa@piap.pl>, "Adrien Grassein" <adrien.grassein@gmail.com>, kernel@pengutronix.de, patches@opensource.cirrus.com, "Johannes Berg" <johannes@sipsolutions.net>, "James Schulman" <james.schulman@cirrus.com>, "Luca Ceresoli" <luca.ceresoli@bootlin.com> Subject: [PATCH] sound: Switch i2c drivers back to use .probe() Date: Thu, 25 May 2023 22:36:40 +0200 [thread overview] Message-ID: <20230525203640.677826-1-u.kleine-koenig@pengutronix.de> (raw) 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> --- sound/aoa/codecs/onyx.c | 2 +- sound/aoa/codecs/tas.c | 2 +- sound/pci/hda/cs35l41_hda_i2c.c | 2 +- sound/ppc/keywest.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/aoa/codecs/onyx.c b/sound/aoa/codecs/onyx.c index 4c75381f5ab8..a8a59d71dcec 100644 --- a/sound/aoa/codecs/onyx.c +++ b/sound/aoa/codecs/onyx.c @@ -1048,7 +1048,7 @@ static struct i2c_driver onyx_driver = { .driver = { .name = "aoa_codec_onyx", }, - .probe_new = onyx_i2c_probe, + .probe = onyx_i2c_probe, .remove = onyx_i2c_remove, .id_table = onyx_i2c_id, }; diff --git a/sound/aoa/codecs/tas.c b/sound/aoa/codecs/tas.c index f906e9aaddcf..ab1472390061 100644 --- a/sound/aoa/codecs/tas.c +++ b/sound/aoa/codecs/tas.c @@ -936,7 +936,7 @@ static struct i2c_driver tas_driver = { .driver = { .name = "aoa_codec_tas", }, - .probe_new = tas_i2c_probe, + .probe = tas_i2c_probe, .remove = tas_i2c_remove, .id_table = tas_i2c_id, }; diff --git a/sound/pci/hda/cs35l41_hda_i2c.c b/sound/pci/hda/cs35l41_hda_i2c.c index 7826b1a12d7d..b44536fbba17 100644 --- a/sound/pci/hda/cs35l41_hda_i2c.c +++ b/sound/pci/hda/cs35l41_hda_i2c.c @@ -58,7 +58,7 @@ static struct i2c_driver cs35l41_i2c_driver = { .pm = &cs35l41_hda_pm_ops, }, .id_table = cs35l41_hda_i2c_id, - .probe_new = cs35l41_hda_i2c_probe, + .probe = cs35l41_hda_i2c_probe, .remove = cs35l41_hda_i2c_remove, }; module_i2c_driver(cs35l41_i2c_driver); diff --git a/sound/ppc/keywest.c b/sound/ppc/keywest.c index 0c4f43963c75..dfc1fc9b701d 100644 --- a/sound/ppc/keywest.c +++ b/sound/ppc/keywest.c @@ -90,7 +90,7 @@ static struct i2c_driver keywest_driver = { .driver = { .name = "PMac Keywest Audio", }, - .probe_new = keywest_probe, + .probe = keywest_probe, .remove = keywest_remove, .id_table = keywest_i2c_id, }; base-commit: ac9a78681b921877518763ba0e89202254349d1b -- 2.39.2
WARNING: multiple messages have this Message-ID (diff)
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> To: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com> Cc: "Johannes Berg" <johannes@sipsolutions.net>, "James Schulman" <james.schulman@cirrus.com>, "David Rhodes" <david.rhodes@cirrus.com>, "Lucas Tanure" <tanureal@opensource.cirrus.com>, "Richard Fitzgerald" <rf@opensource.cirrus.com>, "Wolfram Sang" <wsa@kernel.org>, "Krzysztof Hałasa" <khalasa@piap.pl>, "Dmitry Torokhov" <dmitry.torokhov@gmail.com>, "Luca Ceresoli" <luca.ceresoli@bootlin.com>, "Vladimir Oltean" <olteanv@gmail.com>, "Andy Shevchenko" <andriy.shevchenko@linux.intel.com>, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>, "Sebastian Reichel" <sebastian.reichel@collabora.com>, "Adrien Grassein" <adrien.grassein@gmail.com>, "Peter Senna Tschudin" <peter.senna@gmail.com>, "Benjamin Mugnier" <benjamin.mugnier@foss.st.com>, "Corey Minyard" <cminyard@mvista.com>, linuxppc-dev@lists.ozlabs.org, alsa-devel@alsa-project.org, kernel@pengutronix.de, patches@opensource.cirrus.com Subject: [PATCH] sound: Switch i2c drivers back to use .probe() Date: Thu, 25 May 2023 22:36:40 +0200 [thread overview] Message-ID: <20230525203640.677826-1-u.kleine-koenig@pengutronix.de> (raw) 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> --- sound/aoa/codecs/onyx.c | 2 +- sound/aoa/codecs/tas.c | 2 +- sound/pci/hda/cs35l41_hda_i2c.c | 2 +- sound/ppc/keywest.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/aoa/codecs/onyx.c b/sound/aoa/codecs/onyx.c index 4c75381f5ab8..a8a59d71dcec 100644 --- a/sound/aoa/codecs/onyx.c +++ b/sound/aoa/codecs/onyx.c @@ -1048,7 +1048,7 @@ static struct i2c_driver onyx_driver = { .driver = { .name = "aoa_codec_onyx", }, - .probe_new = onyx_i2c_probe, + .probe = onyx_i2c_probe, .remove = onyx_i2c_remove, .id_table = onyx_i2c_id, }; diff --git a/sound/aoa/codecs/tas.c b/sound/aoa/codecs/tas.c index f906e9aaddcf..ab1472390061 100644 --- a/sound/aoa/codecs/tas.c +++ b/sound/aoa/codecs/tas.c @@ -936,7 +936,7 @@ static struct i2c_driver tas_driver = { .driver = { .name = "aoa_codec_tas", }, - .probe_new = tas_i2c_probe, + .probe = tas_i2c_probe, .remove = tas_i2c_remove, .id_table = tas_i2c_id, }; diff --git a/sound/pci/hda/cs35l41_hda_i2c.c b/sound/pci/hda/cs35l41_hda_i2c.c index 7826b1a12d7d..b44536fbba17 100644 --- a/sound/pci/hda/cs35l41_hda_i2c.c +++ b/sound/pci/hda/cs35l41_hda_i2c.c @@ -58,7 +58,7 @@ static struct i2c_driver cs35l41_i2c_driver = { .pm = &cs35l41_hda_pm_ops, }, .id_table = cs35l41_hda_i2c_id, - .probe_new = cs35l41_hda_i2c_probe, + .probe = cs35l41_hda_i2c_probe, .remove = cs35l41_hda_i2c_remove, }; module_i2c_driver(cs35l41_i2c_driver); diff --git a/sound/ppc/keywest.c b/sound/ppc/keywest.c index 0c4f43963c75..dfc1fc9b701d 100644 --- a/sound/ppc/keywest.c +++ b/sound/ppc/keywest.c @@ -90,7 +90,7 @@ static struct i2c_driver keywest_driver = { .driver = { .name = "PMac Keywest Audio", }, - .probe_new = keywest_probe, + .probe = keywest_probe, .remove = keywest_remove, .id_table = keywest_i2c_id, }; base-commit: ac9a78681b921877518763ba0e89202254349d1b -- 2.39.2
next reply other threads:[~2023-05-25 20:37 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-05-25 20:36 Uwe Kleine-König [this message] 2023-05-25 20:36 ` [PATCH] sound: Switch i2c drivers back to use .probe() Uwe Kleine-König 2023-05-25 20:52 ` Luca Ceresoli 2023-05-25 20:52 ` Luca Ceresoli 2023-06-05 7:24 ` Takashi Iwai 2023-06-05 7:24 ` Takashi Iwai
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230525203640.677826-1-u.kleine-koenig@pengutronix.de \ --to=u.kleine-koenig@pengutronix.de \ --cc=adrien.grassein@gmail.com \ --cc=alsa-devel@alsa-project.org \ --cc=andriy.shevchenko@linux.intel.com \ --cc=benjamin.mugnier@foss.st.com \ --cc=cminyard@mvista.com \ --cc=david.rhodes@cirrus.com \ --cc=dmitry.torokhov@gmail.com \ --cc=gregkh@linuxfoundation.org \ --cc=james.schulman@cirrus.com \ --cc=johannes@sipsolutions.net \ --cc=kernel@pengutronix.de \ --cc=khalasa@piap.pl \ --cc=linuxppc-dev@lists.ozlabs.org \ --cc=luca.ceresoli@bootlin.com \ --cc=olteanv@gmail.com \ --cc=patches@opensource.cirrus.com \ --cc=perex@perex.cz \ --cc=peter.senna@gmail.com \ --cc=rf@opensource.cirrus.com \ --cc=sebastian.reichel@collabora.com \ --cc=tanureal@opensource.cirrus.com \ --cc=tiwai@suse.com \ --cc=wsa@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.