summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-mediatek.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2017-04-13 04:54:42 +0800
committerThierry Reding <thierry.reding@gmail.com>2017-04-13 17:35:00 +0200
commit6db249db5ed9c09e396ed77811853cbd63415f0a (patch)
tree90770804f82ea28d48fc357cbfe3338b371ad58c /drivers/pwm/pwm-mediatek.c
parent6db78b201b3fa3611b9557f0d677cd4560358f9d (diff)
downloadlinux-6db249db5ed9c09e396ed77811853cbd63415f0a.tar.bz2
pwm: mediatek: Don't explicitly set .owner
drivers/pwm/pwm-mediatek.c:210:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: John Crispin <john@phrozen.org> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-mediatek.c')
-rw-r--r--drivers/pwm/pwm-mediatek.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c
index 7263952d1aac..5c11bc708a3c 100644
--- a/drivers/pwm/pwm-mediatek.c
+++ b/drivers/pwm/pwm-mediatek.c
@@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, mtk_pwm_of_match);
static struct platform_driver mtk_pwm_driver = {
.driver = {
.name = "mtk-pwm",
- .owner = THIS_MODULE,
.of_match_table = mtk_pwm_of_match,
},
.probe = mtk_pwm_probe,