]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pxa2xx: Introduce temporary variables to increase readability
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 21 Oct 2019 10:36:24 +0000 (13:36 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 25 Oct 2019 10:09:53 +0000 (11:09 +0100)
commitfe585cea958fc3aac2ccf0df772b30428e4953e3
treeb2c48a2a89483c097891d89052e43b54861161e0
parentbbc7c9a3b91f607573ed432df83965eb85e0e60d
spi: pxa2xx: Introduce temporary variables to increase readability

The current conditional for PCI ID matching is hard to read.
Introduce couple of temporary variables to increase readability
of the code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20191021103625.4250-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c