staging: nvec: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:41 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:41 +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/staging/nvec/nvec.c
drivers/staging/nvec/nvec_kbd.c
drivers/staging/nvec/nvec_paz00.c
drivers/staging/nvec/nvec_power.c
drivers/staging/nvec/nvec_ps2.c

index a93208a..093535c 100644 (file)
@@ -973,7 +973,6 @@ static struct platform_driver nvec_device_driver = {
        .remove  = tegra_nvec_remove,
        .driver  = {
                .name = "nvec",
-               .owner = THIS_MODULE,
                .pm = &nvec_pm_ops,
                .of_match_table = nvidia_nvec_of_match,
        }
index c17a1c3..e881e6b 100644 (file)
@@ -181,7 +181,6 @@ static struct platform_driver nvec_kbd_driver = {
        .remove = nvec_kbd_remove,
        .driver = {
                .name = "nvec-kbd",
-               .owner = THIS_MODULE,
        },
 };
 
index e2e675a..f0cea0e 100644 (file)
@@ -87,7 +87,6 @@ static struct platform_driver nvec_paz00_driver = {
        .remove = nvec_paz00_remove,
        .driver = {
                .name  = "nvec-paz00",
-               .owner = THIS_MODULE,
        },
 };
 
index 6446e15..6a1459d 100644 (file)
@@ -432,7 +432,6 @@ static struct platform_driver nvec_power_driver = {
        .remove = nvec_power_remove,
        .driver = {
                   .name = "nvec-power",
-                  .owner = THIS_MODULE,
                   }
 };
 
index f56f1db..4fd63c2 100644 (file)
@@ -177,7 +177,6 @@ static struct platform_driver nvec_mouse_driver = {
        .remove = nvec_mouse_remove,
        .driver = {
                .name = "nvec-mouse",
-               .owner = THIS_MODULE,
                .pm = &nvec_mouse_pm_ops,
        },
 };