]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: axi-spi-engine: simplify driver data allocation
authorDavid Lechner <dlechner@baylibre.com>
Fri, 17 Nov 2023 20:12:54 +0000 (14:12 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 20 Nov 2023 13:29:05 +0000 (13:29 +0000)
commit9e4ce5220eedea2cc440f3961dec1b5122e815b2
tree03743b9c10eedaf87ced4120a4e366371fc733cd
parent68539d1803476b4ecd403c126aa74b9f25b45f2b
spi: axi-spi-engine: simplify driver data allocation

This simplifies the private data allocation in the AXI SPI Engine driver
by making use of the feature built into the spi_alloc_host() function
instead of doing it manually.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231117-axi-spi-engine-series-1-v1-3-cc59db999b87@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-axi-spi-engine.c