WSL2-Linux-Kernel/drivers/media/dvb-frontends
Uwe Kleine-König f5b11862ae media: zd1301_demod: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is (mostly) ignored
and this typically results in resource leaks. To improve here there is a
quest to make the remove callback return void. In the first step of this
quest all drivers are converted to .remove_new() which already returns
void.

Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-04-11 16:59:14 +02:00
..
cxd2880 media: dvb-frontends: cxd2880: return 0 instead of 'ret'. 2023-02-08 08:31:31 +01:00
drx39xyj media: dvb-frontends: Fix a typo ("Unknow sleep mode") 2023-03-19 22:48:18 +01:00
Kconfig media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
Makefile media: Makefiles: sort entries where it fits 2022-03-14 09:42:59 +01:00
a8293.c media: dvb-frontends: a8293: fix LNB powerup failure in PCTV 461e 2022-11-25 09:55:55 +00:00
a8293.h media: dvb-frontends: a8293: fix LNB powerup failure in PCTV 461e 2022-11-25 09:55:55 +00:00
af9013.c media: dvb-frontends/af9013: Convert to i2c's .probe_new() 2022-11-21 11:04:18 +01:00
af9013.h
af9013_priv.h
af9033.c media: dvb-frontends/af9033: Convert to i2c's .probe_new() 2022-11-21 11:04:18 +01:00
af9033.h
af9033_priv.h
as102_fe.c
as102_fe.h
as102_fe_types.h
ascot2e.c
ascot2e.h
atbm8830.c
atbm8830.h
atbm8830_priv.h
au8522.h
au8522_common.c
au8522_decoder.c media: dvb-frontends/au8522_decoder: Convert to i2c's .probe_new() 2022-11-21 11:04:19 +01:00
au8522_dig.c
au8522_priv.h
bcm3510.c media: dvb-frontends: fix leak of memory fw 2022-11-25 10:00:45 +00:00
bcm3510.h
bcm3510_priv.h
bsbe1-d01a.h
bsbe1.h
bsru6.h
cx22700.c
cx22700.h
cx22702.c
cx22702.h
cx24110.c
cx24110.h
cx24113.c media: drivers: cx24113: remove redundant variable r 2021-11-19 16:12:18 +00:00
cx24113.h
cx24116.c
cx24116.h
cx24117.c media: dvb-frontends: cx24117: Delete 'break' after 'goto' 2021-07-12 14:28:10 +02:00
cx24117.h
cx24120.c
cx24120.h
cx24123.c
cx24123.h
cxd2099.c media: dvb-frontends/cxd2099: Convert to i2c's .probe_new() 2022-11-21 11:04:19 +01:00
cxd2099.h media: dvb-frontends/cxd2099: Remove repeated verbose license text 2021-09-30 10:08:02 +02:00
cxd2820r.h
cxd2820r_c.c
cxd2820r_core.c media: media/dvb-frontends: fix repeated words in comments 2022-11-25 10:06:25 +00:00
cxd2820r_priv.h media: cxd2820r: remove unused cxd2820r_debug declaration 2022-10-24 19:03:52 +02:00
cxd2820r_t.c
cxd2820r_t2.c
cxd2841er.c
cxd2841er.h
cxd2841er_priv.h
dib0070.c
dib0070.h
dib0090.c
dib0090.h
dib3000.h
dib3000mb.c
dib3000mb_priv.h
dib3000mc.c media: dvb_frontend: make static read-only array DIB3000MC_I2C_ADDRESS const 2022-03-07 11:51:14 +01:00
dib3000mc.h
dib7000m.c
dib7000m.h
dib7000p.c media: dib7000p: make static read-only arrays notch and sine const 2022-03-07 11:51:32 +01:00
dib7000p.h
dib8000.c media: dib8000: Fix comment typo 2022-08-29 15:32:13 +02:00
dib8000.h
dib9000.c media: dib9000: Use min() instead of doing it manually 2021-11-19 16:08:37 +00:00
dib9000.h
dibx000_common.c
dibx000_common.h
drxd.h
drxd_firm.c
drxd_firm.h
drxd_hard.c media: drxd: drop offset var from DownloadMicrocode() 2021-11-29 13:23:13 +01:00
drxd_map_firm.h
drxk.h
drxk_hard.c media: dvb-frontends: Fix a typo ("Unknow sleep mode") 2023-03-19 22:48:18 +01:00
drxk_hard.h
drxk_map.h
ds3000.c
ds3000.h
dvb-pll.c media: dvb-frontends/dvb-pll: Convert to i2c's .probe_new() 2023-01-22 08:33:08 +01:00
dvb-pll.h
dvb_dummy_fe.c
dvb_dummy_fe.h
ec100.c
ec100.h
eds1547.h
gp8psk-fe.c
gp8psk-fe.h
helene.c media: dvb-frontends/helene: Convert to i2c's .probe_new() 2022-11-21 11:04:20 +01:00
helene.h
horus3a.c
horus3a.h
isl6405.c
isl6405.h
isl6421.c
isl6421.h
isl6423.c
isl6423.h
itd1000.c
itd1000.h
itd1000_priv.h
ix2505v.c
ix2505v.h
l64781.c
l64781.h
lg2160.c
lg2160.h
lgdt330x.c media: dvb-frontends/lgdt330x: Convert to i2c's .probe_new() 2022-11-21 11:04:20 +01:00
lgdt330x.h
lgdt330x_priv.h
lgdt3305.c
lgdt3305.h
lgdt3306a.c media: dvb-frontends/lgdt3306a: Convert to i2c's .probe_new() 2022-11-21 11:04:20 +01:00
lgdt3306a.h
lgs8gl5.c
lgs8gl5.h
lgs8gxx.c
lgs8gxx.h
lgs8gxx_priv.h
lnbh24.h
lnbh25.c
lnbh25.h
lnbh29.c
lnbh29.h
lnbp21.c
lnbp21.h
lnbp22.c
lnbp22.h
m88ds3103.c media: dvb-frontends/m88ds3103: Convert to i2c's .probe_new() 2023-01-22 08:33:09 +01:00
m88ds3103.h
m88ds3103_priv.h
m88rs2000.c
m88rs2000.h
mb86a16.c media: dvb-frontends: mb86a16.c: always use the same error path 2023-02-08 08:40:13 +01:00
mb86a16.h
mb86a16_priv.h
mb86a20s.c media: mb86a20s: make arrays static const 2021-10-08 13:43:54 +02:00
mb86a20s.h
mn88443x.c media: dvb-frontends/mn88443x: Convert to i2c's .probe_new() 2023-01-22 08:33:10 +01:00
mn88443x.h
mn88472.c media: dvb-frontends/mn88472: Convert to i2c's .probe_new() 2022-11-21 11:04:20 +01:00
mn88472.h
mn88472_priv.h
mn88473.c media: dvb-frontends/mn88473: Convert to i2c's .probe_new() 2022-11-21 11:04:21 +01:00
mn88473.h
mn88473_priv.h
mt312.c
mt312.h
mt312_priv.h
mt352.c
mt352.h
mt352_priv.h
mxl5xx.c media: dvb-frontends: clean up unneeded else 2022-11-25 10:00:20 +00:00
mxl5xx.h media: dvb-frontend/mxl5xx: Remove repeated verbose license text 2021-09-30 10:08:01 +02:00
mxl5xx_defs.h media: dvb-frontend/mxl5xx: Remove repeated verbose license text 2021-09-30 10:08:01 +02:00
mxl5xx_regs.h media: dvb-frontend/mxl5xx: Remove repeated verbose license text 2021-09-30 10:08:01 +02:00
mxl692.c media: dvb-frontends/mxl692: Convert to i2c's .probe_new() 2022-11-21 11:04:21 +01:00
mxl692.h media: dvb-frontend/mxl692: Remove repeated verbose license text 2021-09-30 10:08:01 +02:00
mxl692_defs.h media: dvb-frontend/mxl692: Remove repeated verbose license text 2021-09-30 10:08:01 +02:00
nxt200x.c
nxt200x.h
nxt6000.c
nxt6000.h
nxt6000_priv.h
or51132.c
or51132.h
or51211.c
or51211.h
rtl2830.c media: dvb-frontends/rtl2830: Convert to i2c's .probe_new() 2022-11-21 11:04:21 +01:00
rtl2830.h
rtl2830_priv.h
rtl2832.c media: dvb-frontends/rtl2832: Convert to i2c's .probe_new() 2022-11-21 11:04:22 +01:00
rtl2832.h
rtl2832_priv.h
rtl2832_sdr.c media: rtl2832_sdr: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
rtl2832_sdr.h
s5h1409.c
s5h1409.h
s5h1411.c media: s5h1411.c: Fix a typo in the VSB SNR table 2021-11-19 16:19:59 +00:00
s5h1411.h
s5h1420.c
s5h1420.h
s5h1420_priv.h
s5h1432.c
s5h1432.h
s921.c
s921.h
si21xx.c media: si21xx: use time_is_before_jiffies() instead of open coding it 2022-02-22 09:41:12 +01:00
si21xx.h
si2165.c media: dvb-frontends/si2165: Convert to i2c's .probe_new() 2022-11-21 11:04:22 +01:00
si2165.h
si2165_priv.h
si2168.c media: dvb-frontends/si2168: Convert to i2c's .probe_new() 2022-11-21 11:04:22 +01:00
si2168.h
si2168_priv.h media: media si2168: fully initialize si2168 on resume only when necessary 2021-11-19 16:38:38 +00:00
sp2.c media: dvb-frontends/sp2: Convert to i2c's .probe_new() 2022-11-21 11:04:23 +01:00
sp2.h
sp2_priv.h
sp887x.c media: sp887x: drop unneeded assignment 2021-11-19 16:39:39 +00:00
sp887x.h
stb0899_algo.c
stb0899_cfg.h
stb0899_drv.c
stb0899_drv.h
stb0899_priv.h
stb0899_reg.h
stb6000.c
stb6000.h
stb6100.c media: stb6100: mark a currently unused function as such 2021-11-29 10:14:34 +01:00
stb6100.h
stb6100_cfg.h
stb6100_proc.h
stv090x.c media: dvb-frontends/stv090x: Convert to i2c's .probe_new() 2022-11-21 11:04:23 +01:00
stv090x.h
stv090x_priv.h
stv090x_reg.h
stv0288.c media: stv0288: use explicitly signed char 2022-11-19 00:56:15 +01:00
stv0288.h
stv0297.c
stv0297.h
stv0299.c Tag branch 2022-03-07 16:25:17 +01:00
stv0299.h
stv0367.c media: dvb-frontends/stv0367: remove redundant variable ADCClk_Hz 2021-11-19 16:09:07 +00:00
stv0367.h
stv0367_defs.h
stv0367_priv.h
stv0367_regs.h
stv0900.h
stv0900_core.c
stv0900_init.h
stv0900_priv.h
stv0900_reg.h
stv0900_sw.c
stv0910.c media: dvb-frontends/stv0910: Remove repeated verbose license text 2021-09-30 10:08:02 +02:00
stv0910.h media: dvb-frontends/stv0910: Remove repeated verbose license text 2021-09-30 10:08:02 +02:00
stv0910_regs.h
stv6110.c
stv6110.h
stv6110x.c media: dvb-frontends/stv6110x: Convert to i2c's .probe_new() 2022-11-21 11:04:23 +01:00
stv6110x.h
stv6110x_priv.h
stv6110x_reg.h
stv6111.c media: dvb-frontends/stv6111: Remove repeated verbose license text 2021-09-30 10:08:01 +02:00
stv6111.h media: dvb-frontends/stv6111: Remove repeated verbose license text 2021-09-30 10:08:01 +02:00
tc90522.c media: dvb-frontends/tc90522: Convert to i2c's .probe_new() 2023-01-22 08:33:11 +01:00
tc90522.h
tda665x.c
tda665x.h
tda826x.c
tda826x.h
tda1002x.h media: dvb-frontends: Fix typo 'the the' in comment 2022-08-29 15:32:13 +02:00
tda1004x.c
tda1004x.h
tda8083.c media: tda8083: use time_is_after_jiffies() instead of open coding it 2022-02-22 09:41:12 +01:00
tda8083.h
tda8261.c
tda8261.h
tda8261_cfg.h
tda10021.c
tda10023.c
tda10048.c media: dvb-frontends: Fix typo 'the the' in comment 2022-08-29 15:32:13 +02:00
tda10048.h
tda10071.c media: dvb-frontends/tda10071: Convert to i2c's .probe_new() 2022-11-21 11:04:23 +01:00
tda10071.h
tda10071_priv.h
tda10086.c
tda10086.h
tda18271c2dd.c
tda18271c2dd.h
tda18271c2dd_maps.h
tdhd1.h
ts2020.c media: dvb-frontends/ts2020: Convert to i2c's .probe_new() 2022-11-21 11:04:24 +01:00
ts2020.h
tua6100.c
tua6100.h
ves1x93.c
ves1x93.h
ves1820.c
ves1820.h
z0194a.h
zd1301_demod.c media: zd1301_demod: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
zd1301_demod.h
zl10036.c
zl10036.h
zl10039.c
zl10039.h
zl10353.c
zl10353.h
zl10353_priv.h