]> git.karo-electronics.de Git - linux-beck.git/commitdiff
net: phy: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:15 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:15 +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/net/phy/mdio-bcm-unimac.c
drivers/net/phy/mdio-gpio.c
drivers/net/phy/mdio-mux-gpio.c
drivers/net/phy/mdio-mux-mmioreg.c
drivers/net/phy/mdio-octeon.c

index 5b643e588e8fdd688ad3b65c4ef3b3a7bb978b79..6deac6d32f574dad07084faa6fae7285a21c053b 100644 (file)
@@ -199,7 +199,6 @@ static struct of_device_id unimac_mdio_ids[] = {
 static struct platform_driver unimac_mdio_driver = {
        .driver = {
                .name = "unimac-mdio",
-               .owner = THIS_MODULE,
                .of_match_table = unimac_mdio_ids,
        },
        .probe  = unimac_mdio_probe,
index 5f1a2250018fec5ba01a2a1a1a11f2d736f544a9..0a0578a592b811df94c3e55a8de1e1f3b4dd9d38 100644 (file)
@@ -259,7 +259,6 @@ static struct platform_driver mdio_gpio_driver = {
        .remove = mdio_gpio_remove,
        .driver         = {
                .name   = "mdio-gpio",
-               .owner  = THIS_MODULE,
                .of_match_table = mdio_gpio_of_match,
        },
 };
index 09669516349133a961cc1d41f36bf3917a219ce0..6d5073839f7b765a55499cdb49ca3b6e0c6591eb 100644 (file)
@@ -125,7 +125,6 @@ MODULE_DEVICE_TABLE(of, mdio_mux_gpio_match);
 static struct platform_driver mdio_mux_gpio_driver = {
        .driver = {
                .name           = "mdio-mux-gpio",
-               .owner          = THIS_MODULE,
                .of_match_table = mdio_mux_gpio_match,
        },
        .probe          = mdio_mux_gpio_probe,
index 1656785ff339a5eba8edac5ae26832b5b8ff1357..0aa985c7401434db1e51e9fc3c95cc9cd8220b38 100644 (file)
@@ -156,7 +156,6 @@ MODULE_DEVICE_TABLE(of, mdio_mux_mmioreg_match);
 static struct platform_driver mdio_mux_mmioreg_driver = {
        .driver = {
                .name           = "mdio-mux-mmioreg",
-               .owner          = THIS_MODULE,
                .of_match_table = mdio_mux_mmioreg_match,
        },
        .probe          = mdio_mux_mmioreg_probe,
index a51ed92fbadaaedb9db272ecf866ce2aefe8f3b5..c81052486edcd474df37cc871f7d794a04d68dc0 100644 (file)
@@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, octeon_mdiobus_match);
 static struct platform_driver octeon_mdiobus_driver = {
        .driver = {
                .name           = "mdio-octeon",
-               .owner          = THIS_MODULE,
                .of_match_table = octeon_mdiobus_match,
        },
        .probe          = octeon_mdiobus_probe,