projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b22ae0b
)
net: dsa: b53: remove .owner and .bus fields for driver
author
Wei Yongjun
<weiyj.lk@gmail.com>
Fri, 12 Aug 2016 15:46:57 +0000
(15:46 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 15 Aug 2016 04:24:25 +0000
(21:24 -0700)
Remove .owner and .bus fields since module_spi_driver() is used
which set them automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_spi.c
patch
|
blob
|
history
diff --git
a/drivers/net/dsa/b53/b53_spi.c
b/drivers/net/dsa/b53/b53_spi.c
index 1c847a161bbd3ef9330aedf1a190923b1512920b..f89f5308a99b2b485b9df33d83c370363d109864 100644
(file)
--- a/
drivers/net/dsa/b53/b53_spi.c
+++ b/
drivers/net/dsa/b53/b53_spi.c
@@
-317,8
+317,6
@@
static int b53_spi_remove(struct spi_device *spi)
static struct spi_driver b53_spi_driver = {
.driver = {
.name = "b53-switch",
- .bus = &spi_bus_type,
- .owner = THIS_MODULE,
},
.probe = b53_spi_probe,
.remove = b53_spi_remove,