Unverified Commit 9abcd240 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Mark Brown
Browse files

ASoC: Switch i2c drivers back to use .probe()



After commit b8a1a4cd ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
03c835f4 ("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: default avatarUwe 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: default avatarMark Brown <broonie@kernel.org>
parent 501c2825
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ static struct i2c_driver ad193x_i2c_driver = {
	.driver = {
		.name = "ad193x",
	},
	.probe_new = ad193x_i2c_probe,
	.probe = ad193x_i2c_probe,
	.id_table = ad193x_id,
};
module_i2c_driver(ad193x_i2c_driver);
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ static struct i2c_driver adau1372_i2c_driver = {
	.driver = {
		.name = "adau1372",
	},
	.probe_new = adau1372_i2c_probe,
	.probe = adau1372_i2c_probe,
	.id_table = adau1372_i2c_ids,
};
module_i2c_driver(adau1372_i2c_driver);
+1 −1
Original line number Diff line number Diff line
@@ -1505,7 +1505,7 @@ static struct i2c_driver adau1373_i2c_driver = {
	.driver = {
		.name = "adau1373",
	},
	.probe_new = adau1373_i2c_probe,
	.probe = adau1373_i2c_probe,
	.id_table = adau1373_i2c_id,
};

+1 −1
Original line number Diff line number Diff line
@@ -876,7 +876,7 @@ static struct i2c_driver adau1701_i2c_driver = {
		.name	= "adau1701",
		.of_match_table	= of_match_ptr(adau1701_dt_ids),
	},
	.probe_new	= adau1701_i2c_probe,
	.probe		= adau1701_i2c_probe,
	.id_table	= adau1701_i2c_id,
};

+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ static struct i2c_driver adau1761_i2c_driver = {
		.name = "adau1761",
		.of_match_table = of_match_ptr(adau1761_i2c_dt_ids),
	},
	.probe_new = adau1761_i2c_probe,
	.probe = adau1761_i2c_probe,
	.remove = adau1761_i2c_remove,
	.id_table = adau1761_i2c_ids,
};
Loading