]> 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)
commit40fd8608731aa873425a756bb96a82f78a0af951
tree4a670577485ae59b64b90c6dcf6c27f1fd78f78a
parenta867afcbb08317adaac3e9a8ac6714624467bbd6
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