Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 136c8bf3 authored by Wei Yongjun's avatar Wei Yongjun Committed by Mark Brown
Browse files

spi: dw-pci: remove free for resources allocated with devm_*



It's not necessary to free resources allocated with devm_*
and free them may lead to double free.

Fixes: 04f421e7 ('spi: dw: use managed resources')
Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent fa4934a0
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