]> git.karo-electronics.de Git - linux-beck.git/commitdiff
input: mouse: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:40 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:40 +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/input/mouse/amimouse.c
drivers/input/mouse/gpio_mouse.c
drivers/input/mouse/navpoint.c

index 62ec52b2e3471e71a6c240ea59f4b962c47f9526..a7fd8f22ba566ed4d36937987d4b3a5a1f5504d4 100644 (file)
@@ -141,7 +141,6 @@ static struct platform_driver amimouse_driver = {
        .remove = __exit_p(amimouse_remove),
        .driver   = {
                .name   = "amiga-mouse",
-               .owner  = THIS_MODULE,
        },
 };
 
index 8c7d94200bdbd5a83258ef25542cc5130cc4dc4a..ced07391304b9187ad13ed5e2b6e0f0898fc0513 100644 (file)
@@ -171,7 +171,6 @@ static struct platform_driver gpio_mouse_device_driver = {
        .remove         = gpio_mouse_remove,
        .driver         = {
                .name   = "gpio_mouse",
-               .owner  = THIS_MODULE,
        }
 };
 module_platform_driver(gpio_mouse_device_driver);
index 1ccc88af1f0bd775a93b0dd8f0da2dfd63c6fccd..2a0360f5b5f76552582aa449fa6ab07d8d33c87f 100644 (file)
@@ -355,7 +355,6 @@ static struct platform_driver navpoint_driver = {
        .remove         = navpoint_remove,
        .driver = {
                .name   = "navpoint",
-               .owner  = THIS_MODULE,
                .pm     = &navpoint_pm_ops,
        },
 };