]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pxa2xx-pci: Refactor Quark X1000 to use ->setup()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 25 Feb 2022 17:23:41 +0000 (19:23 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 28 Feb 2022 12:10:18 +0000 (12:10 +0000)
commit6e33999664bef999d0a942b29bd432e756d29537
tree4a670577485ae59b64b90c6dcf6c27f1fd78f78a
parent823628dbccee3e17caf57106be3ca57cae42abac
spi: pxa2xx-pci: Refactor Quark X1000 to use ->setup()

Refactor Quark X1000 handling code to use ->setup() instead of using
the configuration data structure directly.

It will allow to refactor further to avoid intermediate storage for
the used configuration parameters.

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