mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
pwm: pca9685: Switch i2c driver back to use .probe()
After commitb8a1a4cd5a
("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then03c835f498
("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> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
cdcffafc4d
commit
8bfc651a28
1 changed files with 1 additions and 1 deletions
|
@ -665,7 +665,7 @@ static struct i2c_driver pca9685_i2c_driver = {
|
||||||
.of_match_table = of_match_ptr(pca9685_dt_ids),
|
.of_match_table = of_match_ptr(pca9685_dt_ids),
|
||||||
.pm = &pca9685_pwm_pm,
|
.pm = &pca9685_pwm_pm,
|
||||||
},
|
},
|
||||||
.probe_new = pca9685_pwm_probe,
|
.probe = pca9685_pwm_probe,
|
||||||
.remove = pca9685_pwm_remove,
|
.remove = pca9685_pwm_remove,
|
||||||
.id_table = pca9685_id,
|
.id_table = pca9685_id,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue