summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-jz4740.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:28 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:28 +0200
commitf05fae14a10ca0c07f176e680ef9ff9d348e7153 (patch)
treea0cf3ea3431ce3bcdbbcf0d20f4c9cee408b9f09 /drivers/pwm/pwm-jz4740.c
parentpps: clients: drop owner assignment from platform_drivers (diff)
downloadlinux-f05fae14a10ca0c07f176e680ef9ff9d348e7153.tar.xz
linux-f05fae14a10ca0c07f176e680ef9ff9d348e7153.zip
pwm: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/pwm/pwm-jz4740.c')
-rw-r--r--drivers/pwm/pwm-jz4740.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-jz4740.c b/drivers/pwm/pwm-jz4740.c
index 9c46209e1d02..76d13150283f 100644
--- a/drivers/pwm/pwm-jz4740.c
+++ b/drivers/pwm/pwm-jz4740.c
@@ -194,7 +194,6 @@ static int jz4740_pwm_remove(struct platform_device *pdev)
static struct platform_driver jz4740_pwm_driver = {
.driver = {
.name = "jz4740-pwm",
- .owner = THIS_MODULE,
},
.probe = jz4740_pwm_probe,
.remove = jz4740_pwm_remove,