]> git.karo-electronics.de Git - linux-beck.git/commit
net: ieee802154: Remove redundant spi driver bus initialization
authorAntonio Borneo <borneo.antonio@gmail.com>
Tue, 23 Jun 2015 14:52:52 +0000 (22:52 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 23 Jul 2015 15:10:51 +0000 (17:10 +0200)
commitfc586c41117117baf22d1088dad3a771e51e35f7
tree7fe240a987f50d38c5397438d414d3ff0ebedacd
parente432c72c464d2deb6c66d1e2a5f548dc1f0ef4dc
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>
drivers/net/ieee802154/cc2520.c
drivers/net/ieee802154/mrf24j40.c