spi: pxa2xx-pci: Extract pxa2xx_spi_pci_clk_register()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 25 Feb 2022 17:23:48 +0000 (19:23 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 28 Feb 2022 12:10:25 +0000 (12:10 +0000)
commitc3f4fc096b37bc2e4535f16ac3d65d517bbc14eb
tree3957577af330c40e0a6a14fada6c5facf53e4a8e
parentcb50f3f32a044ea45192a43e756b26048d35ba95
spi: pxa2xx-pci: Extract pxa2xx_spi_pci_clk_register()

Extract pxa2xx_spi_pci_clk_register() from ->probe() in order to reuse it
later on for getting rid of max_clk_rate temporary storage.

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