We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a08b318 commit 8fa22f4Copy full SHA for 8fa22f4
drivers/pwm/pwm-pca9685.c
@@ -515,8 +515,7 @@ static const struct regmap_config pca9685_regmap_i2c_config = {
515
.cache_type = REGCACHE_NONE,
516
};
517
518
-static int pca9685_pwm_probe(struct i2c_client *client,
519
- const struct i2c_device_id *id)
+static int pca9685_pwm_probe(struct i2c_client *client)
520
{
521
struct pca9685 *pca;
522
unsigned int reg;
@@ -666,7 +665,7 @@ static struct i2c_driver pca9685_i2c_driver = {
666
665
.of_match_table = of_match_ptr(pca9685_dt_ids),
667
.pm = &pca9685_pwm_pm,
668
},
669
- .probe = pca9685_pwm_probe,
+ .probe_new = pca9685_pwm_probe,
670
.remove = pca9685_pwm_remove,
671
.id_table = pca9685_id,
672
0 commit comments