Skip to content
Commit ff34e17c authored by Wei Yongjun's avatar Wei Yongjun Committed by Matthias Brugger
Browse files

soc: mediatek: Missing platform_device_unregister() on error in mtk_mmsys_probe()



Add the missing platform_device_unregister() before return
from mtk_mmsys_probe() in the error handling case.

Fixes: 667c7692 ("soc / drm: mediatek: Fix mediatek-drm device probing")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20200506141317.119537-1-weiyongjun1@huawei.com


Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 1a6e55ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment