android_kernel_xiaomi_sm8350/drivers/spi
Anton Vorontsov b9b9af11fe spi_mpc83xx: split mpc83xx_spi_work() into two routines
mpc83xx_spi_work() is quite large, with up to five indentation levels and
is quite difficult to read.

So, split the function in two parts:
1. mpc83xx_spi_work() now only traverse queued spi messages;
2. mpc83xx_spi_do_one_msg() only manages single messages.

There should be no functional changes.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: David Brownell <david-b@pacbell.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-19 16:46:05 -07:00
..
amba-pl022.c [ARM] 5546/1: ARM PL022 SSP/SPI driver v3 2009-06-10 22:39:52 +01:00
atmel_spi.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
atmel_spi.h
au1550_spi.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
Kconfig spi_mpc83xx: handle other Freescale processors 2009-06-19 16:46:04 -07:00
Makefile [ARM] 5546/1: ARM PL022 SSP/SPI driver v3 2009-06-10 22:39:52 +01:00
mpc52xx_psc_spi.c mpc52xx_psc_spi: convert to cs_control callback 2009-06-18 13:03:42 -07:00
omap2_mcspi.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
omap_uwire.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
orion_spi.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
pxa2xx_spi.c pxa2xx_spi: fix for SPI_CS_HIGH 2009-06-18 13:03:42 -07:00
spi_bfin5xx.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_bitbang.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_butterfly.c
spi_gpio.c spi-gpio: allow operation without CS signal 2009-04-02 19:04:51 -07:00
spi_imx.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_lm70llp.c hwmon: (lm70) Code streamlining and cleanup 2009-01-07 16:37:34 +01:00
spi_mpc83xx.c spi_mpc83xx: split mpc83xx_spi_work() into two routines 2009-06-19 16:46:05 -07:00
spi_s3c24xx_gpio.c [ARM] S3C24XX: GPIO: Move gpio functions out of <mach/hardware.h> 2009-05-18 16:25:40 +01:00
spi_s3c24xx.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_sh_sci.c
spi_txx9.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi.c spi: fix spi_write_then_read() comment 2009-06-18 13:03:42 -07:00
spidev.c
tle62x0.c
xilinx_spi.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00