Skip to content

Commit 76bf653

Browse files
Tian Taodlezcano
authored andcommitted
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 <[email protected]> Acked-by: Talel Shenhar <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c7071f4 commit 76bf653

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/thermal/thermal_mmio.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ static struct platform_driver thermal_mmio_driver = {
110110
.probe = thermal_mmio_probe,
111111
.driver = {
112112
.name = "thermal-mmio",
113-
.owner = THIS_MODULE,
114113
.of_match_table = of_match_ptr(thermal_mmio_id_table),
115114
},
116115
};

0 commit comments

Comments
 (0)