diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:15 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:15 -0400 |
commit | 9aec7aeced5ae5a22a0702794b061d34723d79e1 (patch) | |
tree | c3169a5a6b21f95573c761b8755e4aeddbdfc3fb | |
parent | 3f00302fbaf4a561d89a0c030fab6151b0f233ca (diff) |
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>
-rw-r--r-- | drivers/net/phy/mdio-bcm-unimac.c | 1 | ||||
-rw-r--r-- | drivers/net/phy/mdio-gpio.c | 1 | ||||
-rw-r--r-- | drivers/net/phy/mdio-mux-gpio.c | 1 | ||||
-rw-r--r-- | drivers/net/phy/mdio-mux-mmioreg.c | 1 | ||||
-rw-r--r-- | drivers/net/phy/mdio-octeon.c | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/phy/mdio-bcm-unimac.c b/drivers/net/phy/mdio-bcm-unimac.c index 5b643e588e8f..6deac6d32f57 100644 --- a/drivers/net/phy/mdio-bcm-unimac.c +++ b/drivers/net/phy/mdio-bcm-unimac.c | |||
@@ -199,7 +199,6 @@ static struct of_device_id unimac_mdio_ids[] = { | |||
199 | static struct platform_driver unimac_mdio_driver = { | 199 | static struct platform_driver unimac_mdio_driver = { |
200 | .driver = { | 200 | .driver = { |
201 | .name = "unimac-mdio", | 201 | .name = "unimac-mdio", |
202 | .owner = THIS_MODULE, | ||
203 | .of_match_table = unimac_mdio_ids, | 202 | .of_match_table = unimac_mdio_ids, |
204 | }, | 203 | }, |
205 | .probe = unimac_mdio_probe, | 204 | .probe = unimac_mdio_probe, |
diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c index 5f1a2250018f..0a0578a592b8 100644 --- a/drivers/net/phy/mdio-gpio.c +++ b/drivers/net/phy/mdio-gpio.c | |||
@@ -259,7 +259,6 @@ static struct platform_driver mdio_gpio_driver = { | |||
259 | .remove = mdio_gpio_remove, | 259 | .remove = mdio_gpio_remove, |
260 | .driver = { | 260 | .driver = { |
261 | .name = "mdio-gpio", | 261 | .name = "mdio-gpio", |
262 | .owner = THIS_MODULE, | ||
263 | .of_match_table = mdio_gpio_of_match, | 262 | .of_match_table = mdio_gpio_of_match, |
264 | }, | 263 | }, |
265 | }; | 264 | }; |
diff --git a/drivers/net/phy/mdio-mux-gpio.c b/drivers/net/phy/mdio-mux-gpio.c index 096695163491..6d5073839f7b 100644 --- a/drivers/net/phy/mdio-mux-gpio.c +++ b/drivers/net/phy/mdio-mux-gpio.c | |||
@@ -125,7 +125,6 @@ MODULE_DEVICE_TABLE(of, mdio_mux_gpio_match); | |||
125 | static struct platform_driver mdio_mux_gpio_driver = { | 125 | static struct platform_driver mdio_mux_gpio_driver = { |
126 | .driver = { | 126 | .driver = { |
127 | .name = "mdio-mux-gpio", | 127 | .name = "mdio-mux-gpio", |
128 | .owner = THIS_MODULE, | ||
129 | .of_match_table = mdio_mux_gpio_match, | 128 | .of_match_table = mdio_mux_gpio_match, |
130 | }, | 129 | }, |
131 | .probe = mdio_mux_gpio_probe, | 130 | .probe = mdio_mux_gpio_probe, |
diff --git a/drivers/net/phy/mdio-mux-mmioreg.c b/drivers/net/phy/mdio-mux-mmioreg.c index 1656785ff339..0aa985c74014 100644 --- a/drivers/net/phy/mdio-mux-mmioreg.c +++ b/drivers/net/phy/mdio-mux-mmioreg.c | |||
@@ -156,7 +156,6 @@ MODULE_DEVICE_TABLE(of, mdio_mux_mmioreg_match); | |||
156 | static struct platform_driver mdio_mux_mmioreg_driver = { | 156 | static struct platform_driver mdio_mux_mmioreg_driver = { |
157 | .driver = { | 157 | .driver = { |
158 | .name = "mdio-mux-mmioreg", | 158 | .name = "mdio-mux-mmioreg", |
159 | .owner = THIS_MODULE, | ||
160 | .of_match_table = mdio_mux_mmioreg_match, | 159 | .of_match_table = mdio_mux_mmioreg_match, |
161 | }, | 160 | }, |
162 | .probe = mdio_mux_mmioreg_probe, | 161 | .probe = mdio_mux_mmioreg_probe, |
diff --git a/drivers/net/phy/mdio-octeon.c b/drivers/net/phy/mdio-octeon.c index a51ed92fbada..c81052486edc 100644 --- a/drivers/net/phy/mdio-octeon.c +++ b/drivers/net/phy/mdio-octeon.c | |||
@@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, octeon_mdiobus_match); | |||
263 | static struct platform_driver octeon_mdiobus_driver = { | 263 | static struct platform_driver octeon_mdiobus_driver = { |
264 | .driver = { | 264 | .driver = { |
265 | .name = "mdio-octeon", | 265 | .name = "mdio-octeon", |
266 | .owner = THIS_MODULE, | ||
267 | .of_match_table = octeon_mdiobus_match, | 266 | .of_match_table = octeon_mdiobus_match, |
268 | }, | 267 | }, |
269 | .probe = octeon_mdiobus_probe, | 268 | .probe = octeon_mdiobus_probe, |