Commit be632e90 authored by David Lechner's avatar David Lechner Committed by Greg Kroah-Hartman
Browse files

spi: axi-spi-engine: simplify driver data allocation



[ Upstream commit 9e4ce522 ]

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: default avatarDavid Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231117-axi-spi-engine-series-1-v1-3-cc59db999b87@baylibre.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Stable-dep-of: 0064db9c ("spi: axi-spi-engine: fix version format string")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent aec8b34e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment