summaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 15:28:10 +0900
committerThierry Reding <thierry.reding@gmail.com>2015-08-17 15:56:01 +0200
commit09c14459f2622ccacdff13461c5c864bff80cc07 (patch)
treed3b63c6ba26a600427d64faf20e256578b276aa0 /drivers/pwm
parent6e146f5c41da7e9601fe92fb4d06b45431dbf95b (diff)
downloadlinux-stable-09c14459f2622ccacdff13461c5c864bff80cc07.tar.gz
linux-stable-09c14459f2622ccacdff13461c5c864bff80cc07.tar.bz2
linux-stable-09c14459f2622ccacdff13461c5c864bff80cc07.zip
pwm: pca9685: Drop owner assignment
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>
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/pwm-pca9685.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-pca9685.c b/drivers/pwm/pwm-pca9685.c
index 34b5c275a92a..bd5f0276db04 100644
--- a/drivers/pwm/pwm-pca9685.c
+++ b/drivers/pwm/pwm-pca9685.c
@@ -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,