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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 2019-05-21 11:28:39 +02:00
anysee.c media: anysee: constify copied structure 2020-02-24 15:22:57 +01:00
anysee.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
au6610.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
au6610.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
az6007.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 238 2019-06-19 17:09:07 +02:00
ce6230.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
ce6230.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dvb_usb_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 2019-05-21 11:28:39 +02:00
dvb_usb_core.c media: rtl28xxu: fix idle handling 2019-10-07 07:42:43 -03:00
dvb_usb_urb.c Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
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 media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mxl111sf-demod.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-demod.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-gpio.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
mxl111sf-gpio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-i2c.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-phy.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-phy.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-tuner.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-tuner.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 2019-05-21 11:28:39 +02:00
usb_urb.c media: dvb-usb-v2: Fix incorrect use of transfer_flags URB_FREE_BUFFER 2018-12-03 13:23:24 -05:00
zd1301.c media: usb: dvb-usb-v2: zd1301: fix missing platform_device_unregister() 2020-11-17 06:57:29 +01:00