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

spi-topcliff-pch: missing platform_driver_unregister() on error in pch_spi_init()



Add the missing platform_driver_unregister() before return
from pch_spi_init() in the error handling case.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent a68b728f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment