macintosh: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:43 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:43 +0000 (16:20 +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/macintosh/smu.c
drivers/macintosh/therm_pm72.c
drivers/macintosh/therm_windtunnel.c
drivers/macintosh/windfarm_pm81.c
drivers/macintosh/windfarm_pm91.c

index 4eab93a..10ae69b 100644 (file)
@@ -667,7 +667,6 @@ static struct platform_driver smu_of_platform_driver =
 {
        .driver = {
                .name = "smu",
-               .owner = THIS_MODULE,
                .of_match_table = smu_platform_match,
        },
        .probe          = smu_platform_probe,
index 97cfc5a..7ed9258 100644 (file)
@@ -2243,7 +2243,6 @@ static struct platform_driver fcu_of_platform_driver =
 {
        .driver = {
                .name = "temperature",
-               .owner = THIS_MODULE,
                .of_match_table = fcu_match,
        },
        .probe          = fcu_of_probe,
index 3b4a157..109dcaa 100644 (file)
@@ -463,7 +463,6 @@ static const struct of_device_id therm_of_match[] = {{
 static struct platform_driver therm_of_driver = {
        .driver = {
                .name = "temperature",
-               .owner = THIS_MODULE,
                .of_match_table = therm_of_match,
        },
        .probe          = therm_of_probe,
index 2a5e1b1..93faf29 100644 (file)
@@ -770,7 +770,6 @@ static struct platform_driver wf_smu_driver = {
         .remove = wf_smu_remove,
        .driver = {
                .name = "windfarm",
-               .owner  = THIS_MODULE,
        },
 };
 
index a8ac66c..81fdf40 100644 (file)
@@ -699,7 +699,6 @@ static struct platform_driver wf_smu_driver = {
         .remove = wf_smu_remove,
        .driver = {
                .name = "windfarm",
-               .owner  = THIS_MODULE,
        },
 };