forked from luck/tmp_suning_uos_patched
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
This commit is contained in:
parent
c7071f4914
commit
76bf653f08
|
@ -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),
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user