summaryrefslogtreecommitdiff
path: root/drivers/net/ieee802154/mrf24j40.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2015-06-23 17:52:52 +0300
committerMarcel Holtmann <marcel@holtmann.org>2015-07-23 18:10:51 +0300
commitfc586c41117117baf22d1088dad3a771e51e35f7 (patch)
tree7fe240a987f50d38c5397438d414d3ff0ebedacd /drivers/net/ieee802154/mrf24j40.c
parente432c72c464d2deb6c66d1e2a5f548dc1f0ef4dc (diff)
downloadlinux-fc586c41117117baf22d1088dad3a771e51e35f7.tar.xz
net: ieee802154: Remove redundant spi driver bus initialization
In ancient times it was necessary to manually initialize the bus field of an spi_driver to spi_bus_type. These days this is done in spi_register_driver(), so we can drop the manual assignment. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Acked-by: Varka Bhadram <varkabhadram@gmail.com> Acked-by: Alan Ott <alan@signal11.us> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154/mrf24j40.c')
-rw-r--r--drivers/net/ieee802154/mrf24j40.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c
index 2549760e039f..997724b8e434 100644
--- a/drivers/net/ieee802154/mrf24j40.c
+++ b/drivers/net/ieee802154/mrf24j40.c
@@ -812,7 +812,6 @@ MODULE_DEVICE_TABLE(spi, mrf24j40_ids);
static struct spi_driver mrf24j40_driver = {
.driver = {
.name = "mrf24j40",
- .bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.id_table = mrf24j40_ids,