Skip to content

Commit 8bfc651

Browse files
Uwe Kleine-Königthierryreding
authored andcommitted
pwm: pca9685: Switch i2c driver back to use .probe()
After commit b8a1a4c ("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then 03c835f ("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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent cdcffaf commit 8bfc651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pwm/pwm-pca9685.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ static struct i2c_driver pca9685_i2c_driver = {
665665
.of_match_table = of_match_ptr(pca9685_dt_ids),
666666
.pm = &pca9685_pwm_pm,
667667
},
668-
.probe_new = pca9685_pwm_probe,
668+
.probe = pca9685_pwm_probe,
669669
.remove = pca9685_pwm_remove,
670670
.id_table = pca9685_id,
671671
};

0 commit comments

Comments
 (0)