summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-lpc32xx.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-lpc32xx.c
parentda2612af00d8216ba365866f9d52f04ea2ad7773 (diff)
downloadlinux-f05fae14a10ca0c07f176e680ef9ff9d348e7153.tar.bz2
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-lpc32xx.c')
-rw-r--r--drivers/pwm/pwm-lpc32xx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-lpc32xx.c b/drivers/pwm/pwm-lpc32xx.c
index 9dc0f9d42bfa..9fde60ce8e7b 100644
--- a/drivers/pwm/pwm-lpc32xx.c
+++ b/drivers/pwm/pwm-lpc32xx.c
@@ -168,7 +168,6 @@ MODULE_DEVICE_TABLE(of, lpc32xx_pwm_dt_ids);
static struct platform_driver lpc32xx_pwm_driver = {
.driver = {
.name = "lpc32xx-pwm",
- .owner = THIS_MODULE,
.of_match_table = lpc32xx_pwm_dt_ids,
},
.probe = lpc32xx_pwm_probe,