Skip to content

Commit

Permalink
pwm: pca9685: Drop owner assignment
Browse files Browse the repository at this point in the history
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
  • Loading branch information
Krzysztof Kozlowski authored and Thierry Reding committed Aug 17, 2015
1 parent 6e146f5 commit 09c1445
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/pwm/pwm-pca9685.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ MODULE_DEVICE_TABLE(of, pca9685_dt_ids);
static struct i2c_driver pca9685_i2c_driver = {
.driver = {
.name = "pca9685-pwm",
.owner = THIS_MODULE,
.of_match_table = pca9685_dt_ids,
},
.probe = pca9685_pwm_probe,
Expand Down

0 comments on commit 09c1445

Please sign in to comment.