spi: axi-spi-engine: use common AXI macros
authorDavid Lechner <dlechner@baylibre.com>
Fri, 2 Feb 2024 21:31:32 +0000 (15:31 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 5 Feb 2024 14:35:45 +0000 (14:35 +0000)
commit88c2b56c2690061121cad03f0f551db465287575
treeeb879a77ba32c0fba9e3f68997b614d7747815d9
parent2733092baa3e8a1f05fd16088808be17c98990b4
spi: axi-spi-engine: use common AXI macros

This avoid duplicating the same macros in multiple drivers by reusing
the common AXI macros for the version register.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240202213132.3863124-2-dlechner@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-axi-spi-engine.c