thermal: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:42 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:42 +0000 (16:21 +0200)
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>
drivers/thermal/armada_thermal.c
drivers/thermal/db8500_cpufreq_cooling.c
drivers/thermal/db8500_thermal.c
drivers/thermal/dove_thermal.c
drivers/thermal/imx_thermal.c
drivers/thermal/kirkwood_thermal.c
drivers/thermal/spear_thermal.c

index 9d1420acb391b0967ddb60db3c6daae940d908df..eaaf59c98ba2f6ec1a9c8bcbe3edc08f95d81af8 100644 (file)
@@ -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,
        },
 };
index 786d19263ab0012cfb15e8b00e5dac6848352bd3..000d53e934a0600b7570de851dc08510240208d1 100644 (file)
@@ -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),
        },
index 1e3b3bf9f993be5d1e3eee1404091883dd21751f..20adfbe27df1748bc00e5563cce12828973c8881 100644 (file)
@@ -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),
        },
index 828f5e345c303ef9b15662477dfd01d16c8a96f6..09f6e304c27461969bb0440e6f06e6cbbc8e0ecc 100644 (file)
@@ -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,
        },
 };
index 2c516f2eebed7e63537760c6eb12980207198cc3..9f34fdd512500d91856a90e8a254f792c9f7dcd1 100644 (file)
@@ -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,
        },
index 3b034a0dfc9426ad48018699772fc024163156b6..11041fe63dc2b2ee17505561eebffea50c6331f9 100644 (file)
@@ -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,
        },
 };
index 1e2193fc3241f857d1965d80f70b6c1e06b530cf..bddb71744a6c4d9dbca8cea5e6eb4121f41b7798 100644 (file)
@@ -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,
        },