forked from Minki/linux
net: phy: drop owner assignment from platform_drivers
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>
This commit is contained in:
parent
3f00302fba
commit
9aec7aeced
@ -199,7 +199,6 @@ static struct of_device_id unimac_mdio_ids[] = {
|
|||||||
static struct platform_driver unimac_mdio_driver = {
|
static struct platform_driver unimac_mdio_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "unimac-mdio",
|
.name = "unimac-mdio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = unimac_mdio_ids,
|
.of_match_table = unimac_mdio_ids,
|
||||||
},
|
},
|
||||||
.probe = unimac_mdio_probe,
|
.probe = unimac_mdio_probe,
|
||||||
|
@ -259,7 +259,6 @@ static struct platform_driver mdio_gpio_driver = {
|
|||||||
.remove = mdio_gpio_remove,
|
.remove = mdio_gpio_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mdio-gpio",
|
.name = "mdio-gpio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = mdio_gpio_of_match,
|
.of_match_table = mdio_gpio_of_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -125,7 +125,6 @@ MODULE_DEVICE_TABLE(of, mdio_mux_gpio_match);
|
|||||||
static struct platform_driver mdio_mux_gpio_driver = {
|
static struct platform_driver mdio_mux_gpio_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mdio-mux-gpio",
|
.name = "mdio-mux-gpio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = mdio_mux_gpio_match,
|
.of_match_table = mdio_mux_gpio_match,
|
||||||
},
|
},
|
||||||
.probe = mdio_mux_gpio_probe,
|
.probe = mdio_mux_gpio_probe,
|
||||||
|
@ -156,7 +156,6 @@ MODULE_DEVICE_TABLE(of, mdio_mux_mmioreg_match);
|
|||||||
static struct platform_driver mdio_mux_mmioreg_driver = {
|
static struct platform_driver mdio_mux_mmioreg_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mdio-mux-mmioreg",
|
.name = "mdio-mux-mmioreg",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = mdio_mux_mmioreg_match,
|
.of_match_table = mdio_mux_mmioreg_match,
|
||||||
},
|
},
|
||||||
.probe = mdio_mux_mmioreg_probe,
|
.probe = mdio_mux_mmioreg_probe,
|
||||||
|
@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, octeon_mdiobus_match);
|
|||||||
static struct platform_driver octeon_mdiobus_driver = {
|
static struct platform_driver octeon_mdiobus_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mdio-octeon",
|
.name = "mdio-octeon",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = octeon_mdiobus_match,
|
.of_match_table = octeon_mdiobus_match,
|
||||||
},
|
},
|
||||||
.probe = octeon_mdiobus_probe,
|
.probe = octeon_mdiobus_probe,
|
||||||
|
Loading…
Reference in New Issue
Block a user