mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
[ Upstream commitd3bdd1c314] When devm_kcalloc() fails, we should execute device_unregister() to unregister edev->dev from system. Fixes:046050f6e6("extcon: Update the prototype of extcon_register_notifier() with enum extcon") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1427 lines
36 KiB
1427 lines
36 KiB