mirror-linux/drivers/media/rc
Uwe Kleine-König 1865913dd5 media: meson-ir-tx: Drop usage of platform_driver_probe()
The benefit of platform_driver_probe() here is only that the probe
function can be discarded after the driver is loaded. For an ARCH=arm
allmodconfig that's 952 bytes, for an allnoconfig + IR_MESON_TX=y it's
only 452 bytes. The downside is that the driver isn't dynamically
bindable and unbindable.

There are considerations to drop platform_driver_probe() as a concept
that isn't relevant any more today. It comes with an added complexity
that makes many users hold it wrong. (E.g. this driver didn't benefit
as much as it could as of v6.6-rc1 as meson_irtx_remove() could have
been marked with __exit.)

The advantages are not that relevant any more today, so convert this
driver to an ordinary platform driver.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-11-16 13:56:48 +01:00
..
img-ir media: img-ir-core: Convert to platform remove callback returning void 2023-04-11 16:59:20 +02:00
keymaps media: rc: keymaps: add missing MODULE_DESCRIPTION to keymaps 2023-10-07 10:55:48 +02:00
Kconfig media: rc: remove ir-rx51 in favour of generic pwm-ir-tx 2023-09-27 09:40:02 +02:00
Makefile media: rc: remove ir-rx51 in favour of generic pwm-ir-tx 2023-09-27 09:40:02 +02:00
ati_remote.c media: rc: ati_remote: increase mouse_name buffer size 2023-09-27 10:47:22 +02:00
bpf-lirc.c
ene_ir.c media: rc: Fix use-after-free bugs caused by ene_tx_irqsim() 2023-02-08 07:49:22 +01:00
ene_ir.h
fintek-cir.c
fintek-cir.h
gpio-ir-recv.c media: rc: gpio-ir-recv: drop of_match_ptr for ID table 2023-07-14 12:32:26 +02:00
gpio-ir-tx.c media: rc: gpio-ir-tx: drop of_match_ptr for ID table 2023-07-14 12:32:27 +02:00
igorplugusb.c media: igorplugusb: use correct size pass to igorplugusb_probe() 2022-07-15 14:52:20 +01:00
iguanair.c
imon.c media: imon: fix access to invalid resource for the second interface 2023-10-07 10:55:48 +02:00
imon_raw.c
ir-hix5hd2.c media: ir-hix5hd2: Use device_get_match_data() 2023-11-16 13:56:47 +01:00
ir-imon-decoder.c
ir-jvc-decoder.c
ir-mce_kbd-decoder.c
ir-nec-decoder.c
ir-rc5-decoder.c
ir-rc6-decoder.c
ir-rcmm-decoder.c
ir-sanyo-decoder.c
ir-sharp-decoder.c media: sharp: fix sharp encoding 2023-10-11 16:26:16 +02:00
ir-sony-decoder.c
ir-spi.c media: ir-spi: silence no spi_device_id warnings 2022-11-25 08:00:22 +00:00
ir-xmp-decoder.c
ir_toy.c
ite-cir.c
ite-cir.h
lirc_dev.c media: lirc: drop trailing space from scancode transmit 2023-10-11 16:26:16 +02:00
mceusb.c media: mceusb: set timeout to at least timeout provided 2022-09-24 07:50:42 +02:00
meson-ir-tx.c media: meson-ir-tx: Drop usage of platform_driver_probe() 2023-11-16 13:56:48 +01:00
meson-ir.c media: rc: meson-ir: support rc driver type RC_DRIVER_SCANCODE 2023-09-27 09:40:02 +02:00
mtk-cir.c media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
nuvoton-cir.c
nuvoton-cir.h
pwm-ir-tx.c media: rc: remove ir-rx51 in favour of generic pwm-ir-tx 2023-09-27 09:40:02 +02:00
rc-core-priv.h
rc-ir-raw.c
rc-loopback.c
rc-main.c driver core: make struct device_type.uevent() take a const * 2023-01-27 13:45:36 +01:00
redrat3.c
serial_ir.c
st_rc.c media: st_rc: Convert to platform remove callback returning void 2023-04-11 16:59:21 +02:00
streamzap.c
sunxi-cir.c media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
ttusbir.c media: ttusbir: avoid unnecessary usb_unlink_urb() 2022-06-20 10:30:33 +01:00
winbond-cir.c
xbox_remote.c