mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Merge remote-tracking branches 'spi/topic/imx', 'spi/topic/init', 'spi/topic/mpc512x-psc', 'spi/topic/mpc52xx', 'spi/topic/mxs', 'spi/topic/nuc900', 'spi/topic/oc-tiny' and 'spi/topic/octeon' into spi-next
This commit is contained in:
parent
3bcbc14911
8fc39b5166
3a44623d5e
3d8c869796
5c5989ccd3
cdd1945bde
fb534f1075
14c48ab2d9
7984b5ca5c
commit
6e07b9179a
30 changed files with 29 additions and 146 deletions
|
@ -15,7 +15,6 @@
|
|||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/module.h>
|
||||
|
@ -267,8 +266,6 @@ static int tiny_spi_probe(struct platform_device *pdev)
|
|||
|
||||
/* setup the state for the bitbang driver */
|
||||
hw->bitbang.master = master;
|
||||
if (!hw->bitbang.master)
|
||||
return err;
|
||||
hw->bitbang.setup_transfer = tiny_spi_setup_transfer;
|
||||
hw->bitbang.chipselect = tiny_spi_chipselect;
|
||||
hw->bitbang.txrx_bufs = tiny_spi_txrx_bufs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue