thermal: no need to set .owner when using module_platform_driver
authorTian Tao <tiantao6@huawei.com>
Sat, 26 Oct 2019 01:04:35 +0000 (09:04 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 7 Nov 2019 06:00:26 +0000 (07:00 +0100)
commit76bf653f08dd3616ad067980f52d462a97e5257b
tree105654b21d3b1b5ae6541016f8679188e2f621f3
parentc7071f4914a40ae0027f4bc6d13f2a4eea7cab70
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
drivers/thermal/thermal_mmio.c