diff options
author | Tian Tao <tiantao6@huawei.com> | 2019-10-26 04:04:35 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2019-11-07 09:00:26 +0300 |
commit | 76bf653f08dd3616ad067980f52d462a97e5257b (patch) | |
tree | 105654b21d3b1b5ae6541016f8679188e2f621f3 | |
parent | c7071f4914a40ae0027f4bc6d13f2a4eea7cab70 (diff) | |
download | linux-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
-rw-r--r-- | drivers/thermal/thermal_mmio.c | 1 |
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), }, }; |