linux/drivers/media
Heiner Kallweit ddbf7d5a69 [media] rc: core: add managed versions of rc_allocate_device and rc_register_device
Introduce managed versions of both functions.
They allows to simplify the error path in the probe function of
rc drivers, and usually also to simplify the remove function.

New element managed_alloc in struct rc_dev is needed to correctly
handle mixed use, e.g. managed version of rc_register_device and
normal version of rc_allocate_device.

In addition devm_rc_allocate_device sets rc->dev.parent as having a
reference to the parent device might be useful for future extensions.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-10-24 18:28:56 -02:00
..
common [media] vivid: Add support for HSV encoding 2016-10-21 15:54:16 -02:00
dvb-core [media] dvb-usb-dvbsky: Add support for TechnoTrend S2-4650 CI 2016-10-24 17:14:25 -02:00
dvb-frontends [media] mb86a20s: always initialize a return value 2016-10-24 17:16:56 -02:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c [media] ad5820: Fix sparse warning 2016-10-24 17:37:12 -02:00
mmc
pci [media] tw5864: crop picture width to 704 2016-10-24 18:02:54 -02:00
platform [media] atmel-isc: start dma in some scenario 2016-10-24 18:22:46 -02:00
radio [media] radio: don't break long lines 2016-10-21 10:06:56 -02:00
rc [media] rc: core: add managed versions of rc_allocate_device and rc_register_device 2016-10-24 18:28:56 -02:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners [media] tuners: don't break long lines 2016-10-21 10:08:13 -02:00
usb [media] dvb-usb-dvbsky: Add support for TechnoTrend S2-4650 CI 2016-10-24 17:14:25 -02:00
v4l2-core [media] videodev2.h Add HSV formats 2016-10-21 15:44:54 -02:00
cec-edid.c
Kconfig
Makefile
media-device.c
media-devnode.c
media-entity.c