projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
379f023
)
net: ethernet: marvell: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:09 +0000
(16:21 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:09 +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/ethernet/marvell/mv643xx_eth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/marvell/mv643xx_eth.c
b/drivers/net/ethernet/marvell/mv643xx_eth.c
index b151a949f352a20ec8e74b4f3a7b6bb194ce841c..513276489d3f05f0d5ea545a86a628e50faf49f3 100644
(file)
--- a/
drivers/net/ethernet/marvell/mv643xx_eth.c
+++ b/
drivers/net/ethernet/marvell/mv643xx_eth.c
@@
-2837,7
+2837,6
@@
static struct platform_driver mv643xx_eth_shared_driver = {
.remove = mv643xx_eth_shared_remove,
.driver = {
.name = MV643XX_ETH_SHARED_NAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(mv643xx_eth_shared_ids),
},
};
@@
-3186,7
+3185,6
@@
static struct platform_driver mv643xx_eth_driver = {
.shutdown = mv643xx_eth_shutdown,
.driver = {
.name = MV643XX_ETH_NAME,
- .owner = THIS_MODULE,
},
};