staging: mt7621-spi: change mt7621_spi_wait_till_ready to take struct mt7621_spi
authorNeilBrown <neil@brown.name>
Wed, 6 Jun 2018 22:04:21 +0000 (08:04 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Jun 2018 07:05:11 +0000 (09:05 +0200)
commita83834c1c9ba446f694c0bc29bce25687bf06582
tree990a0bef36374abf5555c9a53d8c34195ddce00c
parentc0f784ba92e051d0de33ca7e1fd192317cfdb738
staging: mt7621-spi: change mt7621_spi_wait_till_ready to take struct mt7621_spi

All callers have a 'struct mt7621_spi' and that is all
mt7621_spi_wait_till_ready() needs.  So just pass it
instead of the spi_device.

Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-spi/spi-mt7621.c