OSDN Git Service

input: serio: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:41 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:41 +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>
12 files changed:
drivers/input/serio/altera_ps2.c
drivers/input/serio/apbps2.c
drivers/input/serio/arc_ps2.c
drivers/input/serio/at32psif.c
drivers/input/serio/ct82c710.c
drivers/input/serio/i8042-sparcio.h
drivers/input/serio/i8042.c
drivers/input/serio/maceps2.c
drivers/input/serio/olpc_apsp.c
drivers/input/serio/q40kbd.c
drivers/input/serio/rpckbd.c
drivers/input/serio/xilinx_ps2.c

index cce69d6..e8420dd 100644 (file)
@@ -189,7 +189,6 @@ static struct platform_driver altera_ps2_driver = {
        .remove         = altera_ps2_remove,
        .driver = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(altera_ps2_match),
        },
 };
index 98be824..45d4e08 100644 (file)
@@ -214,7 +214,6 @@ MODULE_DEVICE_TABLE(of, apbps2_of_match);
 static struct platform_driver apbps2_of_driver = {
        .driver = {
                .name = "grlib-apbps2",
-               .owner = THIS_MODULE,
                .of_match_table = apbps2_of_match,
        },
        .probe = apbps2_of_probe,
index 8024a6d..99e57a4 100644 (file)
@@ -266,7 +266,6 @@ MODULE_DEVICE_TABLE(of, arc_ps2_match);
 static struct platform_driver arc_ps2_driver = {
        .driver = {
                .name           = "arc_ps2",
-               .owner          = THIS_MODULE,
                .of_match_table = of_match_ptr(arc_ps2_match),
        },
        .probe  = arc_ps2_probe,
index 3290b28..2e4ff5b 100644 (file)
@@ -352,7 +352,6 @@ static struct platform_driver psif_driver = {
        .remove         = __exit_p(psif_remove),
        .driver         = {
                .name   = "atmel_psif",
-               .owner  = THIS_MODULE,
                .pm     = &psif_pm_ops,
        },
 };
index cfe549d..9c54c43 100644 (file)
@@ -209,7 +209,6 @@ static int ct82c710_remove(struct platform_device *dev)
 static struct platform_driver ct82c710_driver = {
        .driver         = {
                .name   = "ct82c710",
-               .owner  = THIS_MODULE,
        },
        .probe          = ct82c710_probe,
        .remove         = ct82c710_remove,
index 93cb791..afcd1c1 100644 (file)
@@ -99,7 +99,6 @@ MODULE_DEVICE_TABLE(of, sparc_i8042_match);
 static struct platform_driver sparc_i8042_driver = {
        .driver = {
                .name = "i8042",
-               .owner = THIS_MODULE,
                .of_match_table = sparc_i8042_match,
        },
        .probe          = sparc_i8042_probe,
index 9a97c2b..10c6852 100644 (file)
@@ -1463,7 +1463,6 @@ static int i8042_remove(struct platform_device *dev)
 static struct platform_driver i8042_driver = {
        .driver         = {
                .name   = "i8042",
-               .owner  = THIS_MODULE,
 #ifdef CONFIG_PM
                .pm     = &i8042_pm_ops,
 #endif
index bc85e1c..e365c5f 100644 (file)
@@ -162,7 +162,6 @@ static int maceps2_remove(struct platform_device *dev)
 static struct platform_driver maceps2_driver = {
        .driver         = {
                .name   = "maceps2",
-               .owner  = THIS_MODULE,
        },
        .probe          = maceps2_probe,
        .remove         = maceps2_remove,
index d906f3e..8e9a420 100644 (file)
@@ -273,7 +273,6 @@ static struct platform_driver olpc_apsp_driver = {
        .remove         = olpc_apsp_remove,
        .driver         = {
                .name   = "olpc-apsp",
-               .owner  = THIS_MODULE,
                .of_match_table = olpc_apsp_dt_ids,
        },
 };
index 594256c..5a9d521 100644 (file)
@@ -186,7 +186,6 @@ static int q40kbd_remove(struct platform_device *pdev)
 static struct platform_driver q40kbd_driver = {
        .driver         = {
                .name   = "q40kbd",
-               .owner  = THIS_MODULE,
        },
        .remove         = q40kbd_remove,
 };
index e462e77..8cf9647 100644 (file)
@@ -168,7 +168,6 @@ static struct platform_driver rpckbd_driver = {
        .remove         = rpckbd_remove,
        .driver         = {
                .name   = "kart",
-               .owner  = THIS_MODULE,
        },
 };
 module_platform_driver(rpckbd_driver);
index e6cf52e..5223cbf 100644 (file)
@@ -363,7 +363,6 @@ MODULE_DEVICE_TABLE(of, xps2_of_match);
 static struct platform_driver xps2_of_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = xps2_of_match,
        },
        .probe          = xps2_of_probe,