Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

thermal: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

-7
-1
drivers/thermal/armada_thermal.c
··· 329 329 .remove = armada_thermal_exit, 330 330 .driver = { 331 331 .name = "armada_thermal", 332 - .owner = THIS_MODULE, 333 332 .of_match_table = armada_thermal_id_table, 334 333 }, 335 334 };
-1
drivers/thermal/db8500_cpufreq_cooling.c
··· 78 78 79 79 static struct platform_driver db8500_cpufreq_cooling_driver = { 80 80 .driver = { 81 - .owner = THIS_MODULE, 82 81 .name = "db8500-cpufreq-cooling", 83 82 .of_match_table = of_match_ptr(db8500_cpufreq_cooling_match), 84 83 },
-1
drivers/thermal/db8500_thermal.c
··· 517 517 518 518 static struct platform_driver db8500_thermal_driver = { 519 519 .driver = { 520 - .owner = THIS_MODULE, 521 520 .name = "db8500-thermal", 522 521 .of_match_table = of_match_ptr(db8500_thermal_match), 523 522 },
-1
drivers/thermal/dove_thermal.c
··· 184 184 .remove = dove_thermal_exit, 185 185 .driver = { 186 186 .name = "dove_thermal", 187 - .owner = THIS_MODULE, 188 187 .of_match_table = dove_thermal_id_table, 189 188 }, 190 189 };
-1
drivers/thermal/imx_thermal.c
··· 559 559 static struct platform_driver imx_thermal = { 560 560 .driver = { 561 561 .name = "imx_thermal", 562 - .owner = THIS_MODULE, 563 562 .pm = &imx_thermal_pm_ops, 564 563 .of_match_table = of_imx_thermal_match, 565 564 },
-1
drivers/thermal/kirkwood_thermal.c
··· 114 114 .remove = kirkwood_thermal_exit, 115 115 .driver = { 116 116 .name = "kirkwood_thermal", 117 - .owner = THIS_MODULE, 118 117 .of_match_table = kirkwood_thermal_id_table, 119 118 }, 120 119 };
-1
drivers/thermal/spear_thermal.c
··· 186 186 .remove = spear_thermal_exit, 187 187 .driver = { 188 188 .name = "spear_thermal", 189 - .owner = THIS_MODULE, 190 189 .pm = &spear_thermal_pm_ops, 191 190 .of_match_table = spear_thermal_id_table, 192 191 },