From bbc379834091670d540cae8d7d1e2240b68bb0e8 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Mon, 20 Oct 2014 16:21:42 +0200 Subject: 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 --- drivers/thermal/armada_thermal.c | 1 - drivers/thermal/db8500_cpufreq_cooling.c | 1 - drivers/thermal/db8500_thermal.c | 1 - drivers/thermal/dove_thermal.c | 1 - drivers/thermal/imx_thermal.c | 1 - drivers/thermal/kirkwood_thermal.c | 1 - drivers/thermal/spear_thermal.c | 1 - 7 files changed, 7 deletions(-) (limited to 'drivers/thermal') diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c index 9d1420acb391..eaaf59c98ba2 100644 --- a/drivers/thermal/armada_thermal.c +++ b/drivers/thermal/armada_thermal.c @@ -329,7 +329,6 @@ static struct platform_driver armada_thermal_driver = { .remove = armada_thermal_exit, .driver = { .name = "armada_thermal", - .owner = THIS_MODULE, .of_match_table = armada_thermal_id_table, }, }; diff --git a/drivers/thermal/db8500_cpufreq_cooling.c b/drivers/thermal/db8500_cpufreq_cooling.c index 786d19263ab0..000d53e934a0 100644 --- a/drivers/thermal/db8500_cpufreq_cooling.c +++ b/drivers/thermal/db8500_cpufreq_cooling.c @@ -78,7 +78,6 @@ static const struct of_device_id db8500_cpufreq_cooling_match[] = { static struct platform_driver db8500_cpufreq_cooling_driver = { .driver = { - .owner = THIS_MODULE, .name = "db8500-cpufreq-cooling", .of_match_table = of_match_ptr(db8500_cpufreq_cooling_match), }, diff --git a/drivers/thermal/db8500_thermal.c b/drivers/thermal/db8500_thermal.c index 1e3b3bf9f993..20adfbe27df1 100644 --- a/drivers/thermal/db8500_thermal.c +++ b/drivers/thermal/db8500_thermal.c @@ -517,7 +517,6 @@ static const struct of_device_id db8500_thermal_match[] = { static struct platform_driver db8500_thermal_driver = { .driver = { - .owner = THIS_MODULE, .name = "db8500-thermal", .of_match_table = of_match_ptr(db8500_thermal_match), }, diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c index 828f5e345c30..09f6e304c274 100644 --- a/drivers/thermal/dove_thermal.c +++ b/drivers/thermal/dove_thermal.c @@ -184,7 +184,6 @@ static struct platform_driver dove_thermal_driver = { .remove = dove_thermal_exit, .driver = { .name = "dove_thermal", - .owner = THIS_MODULE, .of_match_table = dove_thermal_id_table, }, }; diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index 2c516f2eebed..9f34fdd51250 100644 --- a/drivers/thermal/imx_thermal.c +++ b/drivers/thermal/imx_thermal.c @@ -559,7 +559,6 @@ MODULE_DEVICE_TABLE(of, of_imx_thermal_match); static struct platform_driver imx_thermal = { .driver = { .name = "imx_thermal", - .owner = THIS_MODULE, .pm = &imx_thermal_pm_ops, .of_match_table = of_imx_thermal_match, }, diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c index 3b034a0dfc94..11041fe63dc2 100644 --- a/drivers/thermal/kirkwood_thermal.c +++ b/drivers/thermal/kirkwood_thermal.c @@ -114,7 +114,6 @@ static struct platform_driver kirkwood_thermal_driver = { .remove = kirkwood_thermal_exit, .driver = { .name = "kirkwood_thermal", - .owner = THIS_MODULE, .of_match_table = kirkwood_thermal_id_table, }, }; diff --git a/drivers/thermal/spear_thermal.c b/drivers/thermal/spear_thermal.c index 1e2193fc3241..bddb71744a6c 100644 --- a/drivers/thermal/spear_thermal.c +++ b/drivers/thermal/spear_thermal.c @@ -186,7 +186,6 @@ static struct platform_driver spear_thermal_driver = { .remove = spear_thermal_exit, .driver = { .name = "spear_thermal", - .owner = THIS_MODULE, .pm = &spear_thermal_pm_ops, .of_match_table = spear_thermal_id_table, }, -- cgit v1.2.3 From 32d3c299c567b3114152a5ca777a2c91523f4d8c Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Mon, 20 Oct 2014 16:21:43 +0200 Subject: thermal: samsung: 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 --- drivers/thermal/samsung/exynos_tmu.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/thermal') diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index acbff14da3a4..79c3d95e6513 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -806,7 +806,6 @@ static SIMPLE_DEV_PM_OPS(exynos_tmu_pm, static struct platform_driver exynos_tmu_driver = { .driver = { .name = "exynos-tmu", - .owner = THIS_MODULE, .pm = EXYNOS_TMU_PM, .of_match_table = exynos_tmu_match, }, -- cgit v1.2.3 From 4b6d6c6785b33dabeee69cab1c04954e584ab84c Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Mon, 20 Oct 2014 16:21:43 +0200 Subject: thermal: st: 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 --- drivers/thermal/st/st_thermal_memmap.c | 1 - drivers/thermal/st/st_thermal_syscfg.c | 1 - 2 files changed, 2 deletions(-) (limited to 'drivers/thermal') diff --git a/drivers/thermal/st/st_thermal_memmap.c b/drivers/thermal/st/st_thermal_memmap.c index 39896ce2ee00..067bfcdb91d6 100644 --- a/drivers/thermal/st/st_thermal_memmap.c +++ b/drivers/thermal/st/st_thermal_memmap.c @@ -194,7 +194,6 @@ int st_mmap_remove(struct platform_device *pdev) static struct platform_driver st_mmap_thermal_driver = { .driver = { .name = "st_thermal_mmap", - .owner = THIS_MODULE, .pm = &st_thermal_pm_ops, .of_match_table = st_mmap_thermal_of_match, }, diff --git a/drivers/thermal/st/st_thermal_syscfg.c b/drivers/thermal/st/st_thermal_syscfg.c index 888b58e64090..26d36a242bb8 100644 --- a/drivers/thermal/st/st_thermal_syscfg.c +++ b/drivers/thermal/st/st_thermal_syscfg.c @@ -165,7 +165,6 @@ int st_syscfg_remove(struct platform_device *pdev) static struct platform_driver st_syscfg_thermal_driver = { .driver = { .name = "st_syscfg_thermal", - .owner = THIS_MODULE, .pm = &st_thermal_pm_ops, .of_match_table = st_syscfg_thermal_of_match, }, -- cgit v1.2.3