summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/b53/b53_spi.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyj.lk@gmail.com>2016-08-12 15:46:57 +0000
committerDavid S. Miller <davem@davemloft.net>2016-08-14 21:24:25 -0700
commitcfad65c7fa9e77c27025eb5c2098cfbd4d445eab (patch)
tree4e0ca2ca8c89efce861ea93569db92d2c18d34e1 /drivers/net/dsa/b53/b53_spi.c
parentb22ae0b4d9669495158a7fa0fd027bd0fcd8896e (diff)
downloadlinux-cfad65c7fa9e77c27025eb5c2098cfbd4d445eab.tar.bz2
net: dsa: b53: remove .owner and .bus fields for driver
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>
Diffstat (limited to 'drivers/net/dsa/b53/b53_spi.c')
-rw-r--r--drivers/net/dsa/b53/b53_spi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/dsa/b53/b53_spi.c b/drivers/net/dsa/b53/b53_spi.c
index 1c847a161bbd..f89f5308a99b 100644
--- 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,