]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd98c5f11db1adc1c5ac1181b28382000d85cbf46
tree990a0bef36374abf5555c9a53d8c34195ddce00c
parentb20174d0e27a743b84f514d815aaac11361d2462
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