linux/drivers/media/usb/dvb-usb-v2
Qinglang Miao ee50d6e60d media: usb: dvb-usb-v2: zd1301: fix missing platform_device_unregister()
Add the missing platform_device_unregister() before return
from zd1301_frontend_attach in the error handling case when
pdev->dev.driver is empty.

There's an error handling route named err_platform_device_unregister,
so just reuse it.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-17 06:57:29 +01:00
..
af9015.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
af9015.h
af9035.c media: usb: dvb-usb-v2: af9035: convert to use i2c_new_client_device() 2020-01-09 16:03:40 +01:00
af9035.h
anysee.c media: anysee: constify copied structure 2020-02-24 15:22:57 +01:00
anysee.h
au6610.c
au6610.h
az6007.c
ce6230.c
ce6230.h
dvb_usb_common.h
dvb_usb_core.c media: rtl28xxu: fix idle handling 2019-10-07 07:42:43 -03:00
dvb_usb_urb.c
dvb_usb.h media: rtl28xxu: fix idle handling 2019-10-07 07:42:43 -03:00
dvbsky.c media: dvbsky: use semicolons rather than commas to separate statements 2020-11-16 10:31:07 +01:00
ec168.c media: dvb-usb-v2: use DVB_USB_DEVICE() macro 2020-04-22 07:42:15 +02:00
ec168.h
gl861.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
Kconfig media: Kconfig: fix some dvb-usb-v2 dependencies 2020-04-23 18:02:18 +02:00
lmedm04.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
lmedm04.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
Makefile
mxl111sf-demod.c
mxl111sf-demod.h
mxl111sf-gpio.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
mxl111sf-gpio.h
mxl111sf-i2c.c
mxl111sf-i2c.h
mxl111sf-phy.c
mxl111sf-phy.h
mxl111sf-reg.h
mxl111sf-tuner.c
mxl111sf-tuner.h
mxl111sf.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
mxl111sf.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
rtl28xxu.c media: rtl28xxu: use semicolons rather than commas to separate statements 2020-11-16 10:31:06 +01:00
rtl28xxu.h
usb_urb.c
zd1301.c media: usb: dvb-usb-v2: zd1301: fix missing platform_device_unregister() 2020-11-17 06:57:29 +01:00