]> 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)
commitbf0334a77523fbe48f16d9cdd673bbfe91eb649d
treeb2c48a2a89483c097891d89052e43b54861161e0
parenta61b33aacc5c11cc1e6bf2928a30aab28d998f40
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