mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-12 09:20:50 +08:00
drm/i2c: Switch i2c drivers back to use .probe()
After commitb8a1a4cd5a("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then commit03c835f498("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> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230611202740.826120-1-u.kleine-koenig@pengutronix.de
This commit is contained in:
committed by
Javier Martinez Canillas
parent
7f4e171f9d
commit
d13b5d2b2b
@@ -497,7 +497,7 @@ static const struct dev_pm_ops ch7006_pm_ops = {
|
||||
|
||||
static struct drm_i2c_encoder_driver ch7006_driver = {
|
||||
.i2c_driver = {
|
||||
.probe_new = ch7006_probe,
|
||||
.probe = ch7006_probe,
|
||||
.remove = ch7006_remove,
|
||||
|
||||
.driver = {
|
||||
|
||||
@@ -420,7 +420,7 @@ MODULE_DEVICE_TABLE(i2c, sil164_ids);
|
||||
|
||||
static struct drm_i2c_encoder_driver sil164_driver = {
|
||||
.i2c_driver = {
|
||||
.probe_new = sil164_probe,
|
||||
.probe = sil164_probe,
|
||||
.driver = {
|
||||
.name = "sil164",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user