android_kernel_motorola_sm6375/drivers/extcon
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dinghao Liu 58073dc536 extcon: Fix error handling in extcon_dev_register
[ Upstream commit d3bdd1c3140724967ca4136755538fa7c05c2b4e ]

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>
2021-04-07 14:47:43 +02:00
..
devres.c
extcon-adc-jack.c extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()' 2020-06-24 17:50:36 +02:00
extcon-arizona.c
extcon-axp288.c extcon: axp288: Add wakeup support 2020-04-08 09:08:43 +02:00
extcon-fsa9480.c
extcon-gpio.c
extcon-intel-cht-wc.c extcon-intel-cht-wc: Don't reset USB data connection at probe 2020-02-01 09:34:46 +00:00
extcon-intel-int3496.c
extcon-intel-mrfld.c
extcon-intel.h
extcon-max3355.c
extcon-max8997.c
extcon-max14577.c
extcon-max77693.c extcon: max77693: Fix modalias string 2020-12-30 11:51:24 +01:00
extcon-max77843.c
extcon-palmas.c
extcon-ptn5150.c extcon: ptn5150: Fix usage of atomic GPIO with sleeping GPIO chips 2020-11-05 11:43:24 +01:00
extcon-qcom-spmi-misc.c
extcon-rt8973a.c
extcon-rt8973a.h
extcon-sm5502.c
extcon-sm5502.h
extcon-usb-gpio.c
extcon-usbc-cros-ec.c
extcon.c extcon: Fix error handling in extcon_dev_register 2021-04-07 14:47:43 +02:00
extcon.h
Kconfig
Makefile