diff options
author | 2023-05-25 23:13:05 +0200 | |
---|---|---|
committer | 2023-06-23 15:44:00 +0200 | |
commit | 8bfc651a28ceaab5334d7284a31fce7cb1615348 (patch) | |
tree | 99aaa0b81fd7d3e495b9238523e27906f89813dd | |
parent | pwm: ab8500: Fix error code in probe() (diff) | |
download | linux-8bfc651a28ceaab5334d7284a31fce7cb1615348.tar.gz linux-8bfc651a28ceaab5334d7284a31fce7cb1615348.tar.bz2 linux-8bfc651a28ceaab5334d7284a31fce7cb1615348.zip |
pwm: pca9685: Switch i2c driver back to use .probe()
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>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
-rw-r--r-- | drivers/pwm/pwm-pca9685.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-pca9685.c b/drivers/pwm/pwm-pca9685.c index 3ed5a48ca581..3038a68412a7 100644 --- a/drivers/pwm/pwm-pca9685.c +++ b/drivers/pwm/pwm-pca9685.c @@ -665,7 +665,7 @@ static struct i2c_driver pca9685_i2c_driver = { .of_match_table = of_match_ptr(pca9685_dt_ids), .pm = &pca9685_pwm_pm, }, - .probe_new = pca9685_pwm_probe, + .probe = pca9685_pwm_probe, .remove = pca9685_pwm_remove, .id_table = pca9685_id, }; |