Files
linux/drivers/extcon
Dinghao Liu d3bdd1c314 extcon: Fix error handling in extcon_dev_register
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 <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
2021-03-15 11:09:38 +09:00
..
2020-12-11 17:01:09 +09:00
2020-12-11 17:01:09 +09:00