Commit aaeb31c0 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Hans Verkuil
Browse files

media: 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
commit 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>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 72a6127e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -591,7 +591,7 @@ static struct i2c_driver ch7322_i2c_driver = {
		.name = "ch7322",
		.of_match_table = of_match_ptr(ch7322_of_match),
	},
	.probe_new	= ch7322_probe,
	.probe		= ch7322_probe,
	.remove		= ch7322_remove,
};

+1 −1
Original line number Diff line number Diff line
@@ -266,7 +266,7 @@ static struct i2c_driver a8293_driver = {
		.name	= "a8293",
		.suppress_bind_attrs = true,
	},
	.probe_new	= a8293_probe,
	.probe		= a8293_probe,
	.remove		= a8293_remove,
	.id_table	= a8293_id_table,
};
+1 −1
Original line number Diff line number Diff line
@@ -1563,7 +1563,7 @@ static struct i2c_driver af9013_driver = {
		.name	= "af9013",
		.suppress_bind_attrs = true,
	},
	.probe_new	= af9013_probe,
	.probe		= af9013_probe,
	.remove		= af9013_remove,
	.id_table	= af9013_id_table,
};
+1 −1
Original line number Diff line number Diff line
@@ -1183,7 +1183,7 @@ static struct i2c_driver af9033_driver = {
		.name	= "af9033",
		.suppress_bind_attrs	= true,
	},
	.probe_new	= af9033_probe,
	.probe		= af9033_probe,
	.remove		= af9033_remove,
	.id_table	= af9033_id_table,
};
+1 −1
Original line number Diff line number Diff line
@@ -776,7 +776,7 @@ static struct i2c_driver au8522_driver = {
	.driver = {
		.name	= "au8522",
	},
	.probe_new	= au8522_probe,
	.probe		= au8522_probe,
	.remove		= au8522_remove,
	.id_table	= au8522_id,
};
Loading