Skip to content
Unverified Commit e8ba2597 authored by Nuno Sa's avatar Nuno Sa Committed by Mark Brown
Browse files

spi: xcomm: make use of devm_spi_alloc_host()



Use devm_spi_alloc_host() so that there's no need to call
spi_controller_put() in the error path.

Signed-off-by: default avatarNuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240705-dev-spi-xcomm-gpiochip-v2-2-b10842fc9636@analog.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5211070c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment