summaryrefslogtreecommitdiff
path: root/drivers/thermal/thermal_mmio.c
diff options
context:
space:
mode:
authorTian Tao <tiantao6@huawei.com>2019-10-26 04:04:35 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2019-11-07 09:00:26 +0300
commit76bf653f08dd3616ad067980f52d462a97e5257b (patch)
tree105654b21d3b1b5ae6541016f8679188e2f621f3 /drivers/thermal/thermal_mmio.c
parentc7071f4914a40ae0027f4bc6d13f2a4eea7cab70 (diff)
downloadlinux-76bf653f08dd3616ad067980f52d462a97e5257b.tar.xz
thermal: no need to set .owner when using module_platform_driver
the module_platform_driver will call platform_driver_register. and It will set the .owner to THIS_MODULE Signed-off-by: Tian Tao <tiantao6@huawei.com> Acked-by: Talel Shenhar <talel@amazon.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/1572051875-35861-1-git-send-email-tiantao6@huawei.com
Diffstat (limited to 'drivers/thermal/thermal_mmio.c')
-rw-r--r--drivers/thermal/thermal_mmio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/thermal_mmio.c b/drivers/thermal/thermal_mmio.c
index 40524fa13533..d0bdf1ea3331 100644
--- a/drivers/thermal/thermal_mmio.c
+++ b/drivers/thermal/thermal_mmio.c
@@ -110,7 +110,6 @@ static struct platform_driver thermal_mmio_driver = {
.probe = thermal_mmio_probe,
.driver = {
.name = "thermal-mmio",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(thermal_mmio_id_table),
},
};