Skip to content
Unverified Commit 2d064581 authored by Yang Yingliang's avatar Yang Yingliang Committed by Mark Brown
Browse files

spi: xilinx: Switch to use devm_spi_alloc_master()



Switch to use devm_spi_alloc_master() to simpify error path.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarLukas Wunner <lukas@wunner.de>
Link: https://lore.kernel.org/r/20220920114615.2681751-1-yangyingliang@huawei.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c79ce0a2
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