summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-imx.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:28 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:28 +0400
commitf05fae14a10ca0c07f176e680ef9ff9d348e7153 (patch)
treea0cf3ea3431ce3bcdbbcf0d20f4c9cee408b9f09 /drivers/pwm/pwm-imx.c
parentda2612af00d8216ba365866f9d52f04ea2ad7773 (diff)
downloadlinux-f05fae14a10ca0c07f176e680ef9ff9d348e7153.tar.xz
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-imx.c')
-rw-r--r--drivers/pwm/pwm-imx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c
index 5449d9150d40..11af7b4403f8 100644
--- a/drivers/pwm/pwm-imx.c
+++ b/drivers/pwm/pwm-imx.c
@@ -295,7 +295,6 @@ static int imx_pwm_remove(struct platform_device *pdev)
static struct platform_driver imx_pwm_driver = {
.driver = {
.name = "imx-pwm",
- .owner = THIS_MODULE,
.of_match_table = imx_pwm_dt_ids,
},
.probe = imx_pwm_probe,