linux-stable/drivers/media
David Härdeman 615cd3fe6c [media] media: lirc_dev: make better use of file->private_data
By making better use of file->private_data in lirc_dev we can avoid
digging around in the irctls[] array, thereby simplifying the code.

External drivers need to use lirc_get_pdata() instead of mucking around
in file->private_data.

The newly introduced lirc_init_pdata() function isn't very elegant, but
it's a stopgap measure which can be removed once lirc_zilog is converted
to rc-core.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2017-10-04 13:52:12 -03:00
..
cec Linux 4.14-rc2 2017-09-29 05:24:10 -04:00
common media: drivers: Adjust checks for null pointers 2017-09-23 08:20:57 -04:00
dvb-core media: get rid of removed DMX_GET_CAPS and DMX_SET_SOURCE leftovers 2017-09-05 08:25:07 -04:00
dvb-frontends media: fix media Kconfig help syntax issues 2017-09-23 14:59:24 -04:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c media: ov9640: make const arrays res_x/y static const, reduces object code size 2017-09-23 08:30:10 -04:00
mmc
pci Linux 4.14-rc2 2017-09-29 05:24:10 -04:00
platform Linux 4.14-rc2 2017-09-29 05:24:10 -04:00
radio media: fix media Kconfig help syntax issues 2017-09-23 14:59:24 -04:00
rc [media] media: lirc_dev: make better use of file->private_data 2017-10-04 13:52:12 -03:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners media: dvb: i2c transfers over usb cannot be done from stack 2017-09-23 07:21:33 -04:00
usb media: fix media Kconfig help syntax issues 2017-09-23 14:59:24 -04:00
v4l2-core media: v4l-ioctl: Fix typo on v4l_print_frmsizeenum 2017-09-23 14:56:23 -04:00
Kconfig media: rc-core: do not depend on MEDIA_SUPPORT 2017-08-20 09:39:36 -04:00
Makefile [media] cec: select CEC_CORE instead of depend on it 2017-06-04 15:23:33 -03:00
media-device.c media: drop use of MEDIA_API_VERSION 2017-08-08 06:03:15 -04:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c media: Make parameter of media_entity_remote_pad() const 2017-07-20 16:54:04 -04:00