projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e146f5
)
pwm: pca9685: Drop owner assignment
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Fri, 10 Jul 2015 06:28:10 +0000
(15:28 +0900)
committer
Thierry Reding
<thierry.reding@gmail.com>
Mon, 17 Aug 2015 13:56:01 +0000
(15:56 +0200)
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>
drivers/pwm/pwm-pca9685.c
patch
|
blob
|
history
diff --git
a/drivers/pwm/pwm-pca9685.c
b/drivers/pwm/pwm-pca9685.c
index
34b5c27
..
bd5f027
100644
(file)
--- 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,